Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Used for questions about using Selenium WebDriver, a browser automation framework frequently used to automate testing in a browser.
2
votes
Accepted
How to resolve stale element reference error : Element is not present in Page Document
Add a break at the end of if statement
if(sample.getText().equals(data)){
sample.click();
break;
}
2
votes
Accepted
How to store the values from a list in WebDriver
Try this,
WebElement ul= driver.findElement(By.xpath("//ul[@class='addressListItems']"));//xpath of ul
Thread.sleep(3000);
List<WebElement> allOptions= ul.findElements(By.tagName("li"));
…
0
votes
How to select Country dropdown in Amazon site?
You can learn locators from these tutorials,
1.SeleniumEasy
2.ToolsQA
3.Guru99
4.QTPSelenium
You can use Firefox browser add-ons like Firebug, Firepath, FireFinder and gradually you will be able …
3
votes
How to click in a pop up using Selenium Webdriver?
This is not an alert. This is a browser level notification.
Try these:
How to handle browser level notification using Selenium Webdriver
How to Disable Chrome notifications popup in Selenium WebDr …
1
vote
How to handle a ReCAPTCHA picture?
Selenium can't handle CAPTCHA.
CAPTCHA, an acronym for "Completely Automated Turing Test to tell Computers and Humans Apart". It is to determine whether or not the user is a human. If you can simply …
0
votes
Timed out message receiving from renderer: 0.100 log messages using ChromeDriver and Chrome ...
Add this after you initialize the browser. It worked for me.
System.setProperty(ChromeDriverService.CHROME_DRIVER_SILENT_OUTPUT_PROPERTY, "true");
2
votes
How to locate "Login" button of Flipkart bootstrap login page? I tried in many ways, but sti...
I guess the "Login & Signup" button itself was not clicked and you would have got some error like, "Element is not clickable at point(x,y)..."
Try this code,
driver.findElementByXPath("//div[@class= …