Trending questions in Selenium

0 votes
1 answer

Open new tab instead of a new window in Selenium WebDriver

The current version of Selenium do not ...READ MORE

Jun 22, 2018 in Selenium by Meci Matt
• 9,420 points
964 views
0 votes
1 answer

Input username & password using Python in Selenium WebDriver

You can use the below code: username = ...READ MORE

May 15, 2018 in Selenium by Meci Matt
• 9,420 points
2,606 views
0 votes
1 answer

Error Throwing: TimeoutException after an element was clicked with true ExpectedConditions

As you are trying to invoke click() on the ...READ MORE

Jul 2, 2018 in Selenium by Samarpit
• 5,130 points
509 views
0 votes
1 answer

Converting commands recorded in selenium IDE into Java

Yes, it is possible to do this. ...READ MORE

Jun 25, 2018 in Selenium by Meci Matt
• 9,420 points
809 views
0 votes
1 answer

Firefox browser not opening with given URL using Selenium Webdriver with Java

Download the latest selenium jar and replace ...READ MORE

Apr 30, 2018 in Selenium by Samarpit
• 5,130 points
3,228 views
0 votes
1 answer

Locating child nodes in selenium WebDriver

In this situation you can try doing ...READ MORE

May 24, 2018 in Selenium by Meci Matt
• 9,420 points
2,172 views
0 votes
1 answer

Error: driver.navigate().to(“url”) is not working in Chrome 64 and driver chrome 2.35;

You should downgrade your chrome. It will ...READ MORE

Jul 5, 2018 in Selenium by Samarpit
• 5,130 points
358 views
0 votes
1 answer

Taking Screenshot using Selenium WebDriver

Using driver.save_screenshot('/path/to/file') we will be able to ...READ MORE

Jul 12, 2018 in Selenium by Meci Matt
• 9,420 points
43 views
0 votes
1 answer

How to handle notifications in Python with Selenium (Chrome WebDriver)

Below will help you: You can disable the ...READ MORE

May 11, 2018 in Selenium by Samarpit
• 5,130 points
2,708 views
0 votes
1 answer

Selenium Error: Runtime.executionContextCreated has invalid 'context':

Degrade your chrome driver version from 2.9 ...READ MORE

Jun 28, 2018 in Selenium by Samarpit
• 5,130 points
632 views
0 votes
1 answer

Between By.XPath and By.ID, which is the better for locating elements?

Technically speaking, By.ID() is the faster technique ...READ MORE

May 29, 2018 in Selenium by sniffy_god
• 780 points
1,878 views
0 votes
1 answer

PhantomJS web driver stays in memory

Driver.Dispose(); shouldn't be used to clean up the WebDriver instance.  We ...READ MORE

Jul 10, 2018 in Selenium by Meci Matt
• 9,420 points
74 views
0 votes
1 answer

Difference between submit() vs click() in Selenium Webdriver

The submit() function is specifically for forms ...READ MORE

May 24, 2018 in Selenium by sniffy_god
• 780 points
2,088 views
0 votes
1 answer

Python + Selenium - Trying to find element by link containing certain words

2 issues. One thing is, "Catalogues" & ...READ MORE

Mar 27, 2018 in Selenium by nsv999
• 5,110 points
4,544 views
0 votes
1 answer

Using Selenium IDE with some random values

 Selenium IDE is not used, it is ...READ MORE

Jun 13, 2018 in Selenium by Meci Matt
• 9,420 points
1,172 views
0 votes
1 answer

Login page test script using selenium and java in Eclipse IDE

Here is an example to login to ...READ MORE

Apr 23, 2018 in Selenium by Meci Matt
• 9,420 points
3,351 views
0 votes
1 answer

How to take screenshot of a frame using Selenium WebDriver?

you can use the below code: import java.awt.image.BufferedImage; import ...READ MORE

Jun 20, 2018 in Selenium by Meci Matt
• 9,420 points
810 views
0 votes
1 answer

How to run Selenium test case file from command line?

You’ll need Selenium RC for this: http://seleniumhq.org/download/  And the ...READ MORE

Apr 23, 2018 in Selenium by Vardy
• 2,270 points
3,293 views
0 votes
1 answer

Not able to call onclick datepicker function python selenium

To pass customized dates e.g. 2017/07/14. You have ...READ MORE

Jun 8, 2018 in Selenium by Samarpit
• 5,130 points
1,260 views
0 votes
1 answer

Selenium throws an error “selenium.common.exceptions.WebDriverException:

In your case the path of the ...READ MORE

May 8, 2018 in Selenium by Samarpit
• 5,130 points
2,587 views
0 votes
1 answer

Uploading files using selenium WebDriver

Try using input() function: WebElement fileInput = driver.find ...READ MORE

Jul 5, 2018 in Selenium by Meci Matt
• 9,420 points
34 views
0 votes
1 answer

Error in for loop to fetch data from excel in selenium

You are closing theFileInputStream inside the for-loop. ...READ MORE

Jun 20, 2018 in Selenium by Samarpit
• 5,130 points
686 views
0 votes
1 answer

Selenium XPath error:- Element not found

The reason for Element not found exception ...READ MORE

Mar 27, 2018 in Selenium by nsv999
• 5,110 points
4,323 views
0 votes
1 answer

Browser is Unreachable exception while trying to test with Selenium Webdriver using IEDriver

I was getting the same error and ...READ MORE

Mar 30, 2018 in Selenium by nsv999
• 5,110 points
4,185 views
0 votes
1 answer

Sending keys to credit card fields (fields are from stripe) using selenium

Below code will help you: String cnum = ...READ MORE

Jun 12, 2018 in Selenium by Samarpit
• 5,130 points
984 views
0 votes
1 answer

How To move physical mouse pointer in selenium and c#

You can't show the mouse pointer moving and ...READ MORE

Jun 4, 2018 in Selenium by Samarpit
• 5,130 points
1,335 views
0 votes
1 answer

Selecting an item from dropdown list using Selenium WebDriver & java

Use the below code: new Select(driver.findElement(By.id("blood-group"))).selectByVisibleText("AB"); You also need ...READ MORE

May 8, 2018 in Selenium by Meci Matt
• 9,420 points
2,493 views
0 votes
1 answer

How to use such xpath to find web elements

It's much simpler to use: #MyDiv123 > div.super or ...READ MORE

Jun 14, 2018 in Selenium by Samarpit
• 5,130 points
894 views
0 votes
1 answer

Handling user authentication popup in Mobile/Tablet

You can get xpath/id of popup element ...READ MORE

Jul 3, 2018 in Selenium by Samarpit
• 5,130 points
36 views
0 votes
1 answer

Integration of Protractor using Jenkins

I created a script, as follows # start ...READ MORE

Jun 19, 2018 in Selenium by Meci Matt
• 9,420 points
615 views
0 votes
1 answer

Downloading an executable with Selenium and Firefox Automatically

Below will help: When you create your driver: FirefoxProfile ...READ MORE

Jun 29, 2018 in Selenium by Samarpit
• 5,130 points
135 views
0 votes
1 answer

What's the difference between functions getClass() and getAttribute(“class”) in Selenium?

The simple difference is that, getClass() returns ...READ MORE

Apr 7, 2018 in Selenium by nsv999
• 5,110 points
3,664 views
0 votes
1 answer

Can we capture JavaScript errors in Selenium

This might work. Add the below code ...READ MORE

Jun 21, 2018 in Selenium by nsv999
• 5,110 points
422 views
0 votes
1 answer

Selenium IDE Click button error while clicking on Play Recording

Your code looks OK and would work ...READ MORE

Jun 27, 2018 in Selenium by Samarpit
• 5,130 points
151 views
0 votes
1 answer

How to eliminate this error”Cannot instantiate the type Select in selenium webdriver”

Try below code. Select sc = new Select(driver.findElement(By.xpath("your ...READ MORE

May 18, 2018 in Selenium by Samarpit
• 5,130 points
1,857 views
0 votes
1 answer

Native logger in Selenium WebDriver

Select the log types you want and ...READ MORE

Jun 19, 2018 in Selenium by Meci Matt
• 9,420 points
454 views
0 votes
1 answer

Difference between Selenium RC and WebDriver

Selenium RC Selenium Remote Control (RC) is used ...READ MORE

Jun 14, 2018 in Selenium by Meci Matt
• 9,420 points
652 views
0 votes
1 answer

Selenium Webdriver call function Java Scipt

To run Javascript with selenium web driver you should ...READ MORE

Jun 13, 2018 in Selenium by Samarpit
• 5,130 points
667 views
0 votes
1 answer

Handling pop up in Chrome using Selenium WebDriver

AutoIt Window Information Tool do not recognize ...READ MORE

Jun 11, 2018 in Selenium by Meci Matt
• 9,420 points
734 views
0 votes
1 answer

Reading the pdf file using selenium webdriver

Use should use PDFBox and FontBox. ...READ MORE

Apr 25, 2018 in Selenium by Vardy
• 2,270 points
2,767 views
0 votes
1 answer

Matching different browser version and selenium driver version

Look at the below link to see ...READ MORE

Jun 21, 2018 in Selenium by Samarpit
• 5,130 points
276 views
0 votes
1 answer

NoSuchElementException exception with headless chrome and selenium

As you are seeing NoSuchElementException you can consider using ...READ MORE

May 7, 2018 in Selenium by Samarpit
• 5,130 points
2,206 views
0 votes
1 answer

How to launch new activity for Appium Android?

Firstly, test if the activity you want ...READ MORE

Jun 4, 2018 in Selenium by Samarpit
• 5,130 points
970 views
0 votes
1 answer

InvalidSelectorException while using CSS Locator- contains() in Selenium WebDriver

The main problem with your code is ...READ MORE

Apr 17, 2018 in Selenium by Meci Matt
• 9,420 points
2,979 views
0 votes
1 answer

Using Selenium with PHP

Try Following things Install PHPUnit  Install JAVA SDK & ...READ MORE

Jun 21, 2018 in Selenium by Meci Matt
• 9,420 points
137 views
0 votes
1 answer

Using keys (Ctrl+A) in Selenium WebDriver

You can use the below code: String select ...READ MORE

May 9, 2018 in Selenium by Meci Matt
• 9,420 points
1,974 views
0 votes
1 answer

Error: StaleElementReferenceException with WebDriver

I faced this exact problem once before. ...READ MORE

Jun 21, 2018 in Selenium by nsv999
• 5,110 points
66 views
0 votes
1 answer

Click a link within an iFrame which opens a new tab and switch to it

While switching the TAB induce WebDriverWait and switch accordingly. Below code ...READ MORE

Jun 7, 2018 in Selenium by Samarpit
• 5,130 points
646 views
0 votes
1 answer

Is it possible for a website to detect that we are using Selenium with ChromeDriver

Selenium tests for pre-defined javascript variables which ...READ MORE

Apr 27, 2018 in Selenium by Meci Matt
• 9,420 points
2,377 views
0 votes
1 answer

How to find element using classname and tagname using selenium webdriver?

Use the below code or you can ...READ MORE

Apr 17, 2018 in Selenium by king_kenny
• 3,650 points
2,811 views