Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Browsing all 97762 articles
Browse latest View live
↧

Selenium tests fail with azure pipeline sometimes and pass locally

Test cases fail while not finding a link or any validation messages after a button click. I used explicit waits for page to load:var waitForDocumentReady = new WebDriverWait(WebDriver,...

View Article


Executing Javascript elementFromPoint through Selenium driver

I am trying to implement an "object picker" to my Selenium based framework as is common on most commercial automation tools. To do this I am using a Javascript command to find the element at the mouse...

View Article


Edit Data in Grid Selenium Python

I am trying to edit the Column "Stock". Editing must be done for all rows having a value greater than 5. Right now, if it is 10, then it must reduce 1 by 1 until it gets to 5 and then adding back to...

View Article

NUnit pass data from OneTimeSetUp to all tests in that fixture

In NUnit, I am attempting to initialize a variable during the test fixture's OneTimeSetUp and reference that variable in all test cases under that fixture. The OneTimeSetUpAttribute is applied to a...

View Article

Python selenium - How to switch to next window

Requirement is: To login with username/password credentials to the main page. Once login is done, new page appears. In the new page, there is a dropdown button. Select a value from dropdown and take...

View Article


Safari 13 basic authorization in webdriver

I am looking for a way to fill basic authorization popup in Safari 13 in automated session. I want to log in to website which require such login. Solution can be even manual. Is there any way to do...

View Article

Maven : No tests were executed

I am abe to run my Junit runner for Cucumber using maven command line. My runner file is located in /src/java/test/Runners/ directory. Following is the command that I am using:mvn surefire:test...

View Article

Message: no such element: Unable to locate element: {"method":"css...

I am trying to learn Web Scraping with Python using Selenium. I am testing Reddit.com. I am stuck here. When I run the script it stops here on the login page and gives the following error:...

View Article


recording videos of Protractor e2e tests

I use Protractor and gulp to test an angular application.I'm looking for a way to record videos for my Protractor e2e tests so that I can play them back as .mp4 or whatever other forms that can be...

View Article


How to return new object of Generic Type with parameter driver in Page Object...

I use Selenium. I have Page Object like this: public class Portal extends Utils{ private WebDriver driver; private final By getReason= By.xpath("//a[contains(text(),'Get Sol')]"); public...

View Article

Selenium WebDriver in Ruby: Preventing the test from closing the browser...

I appear to be having the exact opposite problem many other people have - in that my Selenium tests in Ruby will close the browser window at test end, no matter what the end result is. Pass or fail, it...

View Article

how to wait for the second window to load completely

I click a button from parent window and it loads a viewer in the new(child) window, then i do some action in the second window. Here before loading of my second window itself, the script tries to do...

View Article

How can I Automate web application which is following two factor authentication?

I have to automate my web application login process. Steps have to follow manually are-- login page opens --> enter credentials and click on login button -- Now One mail will be sent to my personal...

View Article


My appium test is running twice one one device but I need to run it across...

I am trying to run my appium tests in paralell. I have configured selenium grid and registered my nodes via an appium command. I have two test devices (emulators) running and whenever I try to run a...

View Article

Randomly my application logout during Selenium automation scripts execution,...

Randomly my application logout during Selenium automation scripts execution, how can I handle it so that script automatically log in and continue the execution.

View Article


How to identify a bootstrap custom-control-input of type checkbox through...

I'm writing a web-app with java. I'm testing all the html pages with selenium-java but I've a problem with the custom forms that comes from bootstrap 4 Going in deep, I've the following code<input...

View Article

Find element which is in tag selenium

I am trying to find an element which is a arrow (like drop down). But there is no html specific code for that. It seems arrow has been included with <em>. its not visible by default. when I...

View Article


How do I remove "kg" and "m" from my csv data?

I just want to have values. I'm looking to remove the 'm' and 'kg' from the columns. Here is my code so far, it works great. But the only problem is the 'm' and 'kg. Any help would be very much...

View Article

ActionChains Selenium Python doesn't work correctly

I'm new in Selenium with Python and I have a problem with ActionChains , that I couldn't understand.I want to click on an element and move it to another element with ActionChain , I tried 2 ways to do...

View Article

Scraping an Angular website with selenium and C# returns the angular script,...

This seems to be by design as far as I can tell. Selenium can see the initially loaded HTML, but not the HTML after it's been massaged. I've tried IE, Chrome and PhantomJS and they all show the same...

View Article
Browsing all 97762 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>