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.
0
votes
Accepted
Unable to move the control from parent to child window
Though I have never faced this issue, it seems familiar. I saw this error message returned on one of my friend's test script. I then searched and found the following links
Link1
Link2
My friend's i …
1
vote
I got the following error while automating gmail page
It means that Selenium was not able to find the locator that you have mentioned. Since the issue is on locator with id "Next", it is throwing exception at this point.
I just checked and the locator …
1
vote
Selenium cannot click Sign in button on amazon.com
You are choosing the incorrect locators on the webpage to select the Sign In option. Also you should be using the move to element methods that the action class provides you, in order to hover over the …
0
votes
unable to locate element
Why not
$$('.btn.btn-primary.gray.btn-xs').first();
if the Export button is first element
Or
$$('.btn.btn-primary.gray.btn-xs')[0] //for the first element with the class.
Or
$$('.btn.btn-prim …
3
votes
how to find whether the focus is on the particular web element
There is a method called activeElement() in webdriver to check whether the element in question is the focussed element.
You can do something like
WebElement elem = driver.findElement(By.id('pat')); …
1
vote
Handle drop down on web page dialog selenium C#
You need to switch to the window and then perform whatever you are going to perform on the child window.
Though I am not familiar with C#, this is how I would try:
btn1=driver.find_element_by_id('u …
1
vote
How can I get the value of the tooltip
The chart looks like an SVG chart. So you would need to go to the particular bar and then get the tool tip using the .text attribute - if you're using Python or using the getText( ) -in case you're us …
1
vote
Failed to execute 'createNSResolver' on 'Document': parameter 1 is not of type 'Node'
Quoting the Selenium docs
A stale element reference exception is thrown in one of two cases, the first being more common than the second:
The element has been deleted entirely.
The elem …
3
votes
Unable to click on button
Include an implicit or explicit (favorably, the later), before this click statement.
This is an example of how you use Explicit wait :
WebdriverWait wait1= new WebDriverWait(driver,30);
WebElement …
1
vote
Automating Adobe CQ5 web based application using Selenium Web driver
I have had a look at how pages are created using Adobe CQ5 from a video tutorial here, and I think Selenium should be able to handle automating this, or in other words, you can automate the web page c …
0
votes
Exception Handling when accessing sub menu
I would go by Helping Hands answer, and wrap this in between a try-catch block to catch an exception.
public void goToAddNewPost() {
try{
Actions actions = new Actions(driver);
WebElement men …
0
votes
How should automation maintenance be handled? (Selenium)
The same question has been asked multiple times :
Building "slow to break" regression tests
How can I structure Selenium tests in a way that minimizes the maintenance work?
I would suggest you to g …
1
vote
Error seen while automating the Gmail page. Pls help!
This happened because Selenium script was not able to find the element in the time duration mentioned.
This happens when your page is not loaded inside the time frame that Selenium has set for locat …
0
votes
Click on field in new window
There is something wrong with the way you have mentioned your code.
You've mentioned that your element is in new window-I am assuming the waiting needs to be done once you have switched the window.
…
1
vote
Type mismatch: cannot convert from List<WebElement> to WebElement in eclipse
This is one of the basic Webdriver concepts. When you are searching for a single element- like a single button that has to be clicked on, you use the findElement( ) , along with a locator mechanism, t …