Most answered questions in Selenium

0 votes
1 answer

Get coordinates or dimensions of element with Python using Selenium WebDriver

WebElements have the properties such as .size and .location. ...READ MORE

Jul 11, 2018 in Selenium by Meci Matt
• 9,460 points
8,616 views
+1 vote
1 answer

How to click a link whose href has a substring using Selenium webdriver?

It can be done by using the ...READ MORE

Jul 11, 2018 in Selenium by Meci Matt
• 9,460 points
13,212 views
0 votes
1 answer

How to I switch to a new window for links with “blank” targets using Capybara?

Capybara 2.3 includes the new window management ...READ MORE

Jul 11, 2018 in Selenium by Meci Matt
• 9,460 points
3,446 views
0 votes
1 answer

Error: unable to add browser extension to Firefox profile using Selenium

Try to create profile on Firefox browser ...READ MORE

Jul 11, 2018 in Selenium by Samarpit
• 5,910 points
2,898 views
+1 vote
1 answer

How to download a file at a specified location through python and selenium using Chrome driver

Create a profile for chrome and define ...READ MORE

Jul 11, 2018 in Selenium by Samarpit
• 5,910 points
35,147 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,460 points
568 views
0 votes
1 answer

Getting selenium.common.exceptions.InvalidSelectorException with “span:contains('string')”

Use of css_selector to locate the element by ...READ MORE

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

How to pause for few seconds in Selenium?

you can locate an element that loads ...READ MORE

Jul 6, 2018 in Selenium by Meci Matt
• 9,460 points
7,049 views
0 votes
1 answer

How to enter text into text field using Selenium WebDriver

You can use the same code as ...READ MORE

Jul 6, 2018 in Selenium by Meci Matt
• 9,460 points
16,218 views
0 votes
1 answer

Error: No module named 'chardet'

This should just be a question of ...READ MORE

Jul 6, 2018 in Selenium by Samarpit
• 5,910 points
3,544 views
0 votes
1 answer

Error: TestNG @BeforeClass initialization code not running before Test

Below will help: @BeforeTest: The annotated method will ...READ MORE

Jul 6, 2018 in Selenium by Samarpit
• 5,910 points
5,365 views
0 votes
1 answer

Uploading files using selenium WebDriver

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

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

How to wait till the text is present In text field

Use Waits in Selenium WebDriver to wait ...READ MORE

Jul 5, 2018 in Selenium by Meci Matt
• 9,460 points
7,266 views
0 votes
1 answer

Getting the proper xpath for date picker in selenium

Try to use explicit wait. Sometimes it ...READ MORE

Jul 5, 2018 in Selenium by Samarpit
• 5,910 points
4,133 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,910 points
2,559 views
0 votes
1 answer

Not able to find element with Xpath

You are using wrong xpath expression. This ...READ MORE

Jul 4, 2018 in Selenium by Samarpit
• 5,910 points
4,493 views
0 votes
1 answer

Counting the list within HTML structure using Selenium Webdriver

Try Below code: This should work driver.findElements(By.xpath(" ...READ MORE

Jul 3, 2018 in Selenium by Samarpit
• 5,910 points
5,449 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,910 points
714 views
0 votes
1 answer

Selenium-Debugging Error: Element is not clickable at point (X,Y)

Another element is covering the element you ...READ MORE

Jul 2, 2018 in Selenium by Samarpit
• 5,910 points
8,653 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,910 points
3,039 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,910 points
1,361 views
0 votes
1 answer

Unable to Start tor using Python Selenium Error: failed to start

I tried to solve same problem on ...READ MORE

Jun 29, 2018 in Selenium by Samarpit
• 5,910 points
3,561 views
0 votes
1 answer

Using IF / ELSE in selenium IDE

You'll have to download the Flow Control plugin for ...READ MORE

Jun 28, 2018 in Selenium by Meci Matt
• 9,460 points
6,236 views
0 votes
1 answer

Using switch_to_windows() and printing the title doesn't print the title in Selenium webdriver

The title of the page will not ...READ MORE

Jun 28, 2018 in Selenium by Meci Matt
• 9,460 points
3,041 views
0 votes
1 answer

Read data from excel sheet in python

Try to use xrld. A python module used ...READ MORE

Jun 28, 2018 in Selenium by Samarpit
• 5,910 points
3,489 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,910 points
4,139 views
0 votes
1 answer

I am getting error: Element should have been “select” but was “input” using Selenium Webdriver Java

You can Select element by the following ...READ MORE

Jun 27, 2018 in Selenium by Samarpit
• 5,910 points
23,720 views
0 votes
1 answer

Which Firefox version is compatible with Selenium 2.53.0?

I had the similar problem. For me, ...READ MORE

Jun 26, 2018 in Selenium by Meci Matt
• 9,460 points
1,929 views
0 votes
1 answer

How to resolve Pycharm Referenced Error with Import Selenium Web driver?

Below will help: Pycharm > Preferences > Project ...READ MORE

Jun 26, 2018 in Selenium by Samarpit
• 5,910 points
9,062 views
0 votes
1 answer

Setting the webdriver.chrome.driver system property

When u use Selenium 3.x you should ...READ MORE

Jun 26, 2018 in Selenium by Samarpit
• 5,910 points
17,404 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,460 points
2,273 views
0 votes
1 answer

How to scroll until the element is in view using Selenium2Library Keyword?

You have to download the ExtendedSelenium2Library from ...READ MORE

Jun 25, 2018 in Selenium by Samarpit
• 5,910 points
8,774 views
0 votes
1 answer

How to start with a POST request using Selenium?

No, you cannot do this. But you ...READ MORE

Jun 25, 2018 in Selenium by Meci Matt
• 9,460 points
11,663 views
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,460 points
3,719 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,460 points
944 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,500 points
1,616 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,500 points
913 views
0 votes
1 answer

Not able to find web element in Span Tag

Try using class selector also. driver.findElement(By.cssSelector(".login-link")).click(); hash is used ...READ MORE

Jun 21, 2018 in Selenium by Samarpit
• 5,910 points
5,230 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,910 points
2,525 views
0 votes
1 answer

Clear text from text area using selenium WebDriver

use the below code: driver.find_element_by_id('abc').clear(); READ MORE

Jun 20, 2018 in Selenium by Meci Matt
• 9,460 points
32,168 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,460 points
3,171 views
0 votes
1 answer

Click on a button within a pop-up window with python selenium

It's not an Alert but a Modal Dialog Box. You ...READ MORE

Jun 20, 2018 in Selenium by Samarpit
• 5,910 points
31,057 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,910 points
3,691 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,460 points
1,472 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,460 points
1,672 views
0 votes
1 answer

Refreshing web page in Selenium WebDriver

you can use the below code to ...READ MORE

Jun 18, 2018 in Selenium by Meci Matt
• 9,460 points
678 views
0 votes
1 answer

Select a drop down value of angular js application using selenium using text

To select drop down use following, driver.findElements(By.className("Your dropdown ...READ MORE

Jun 18, 2018 in Selenium by Samarpit
• 5,910 points
10,525 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,460 points
1,650 views
+1 vote
1 answer

Throwing Hamcrest exception message while actual and expected are same

Below will help you: Its due to string ...READ MORE

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

Selenium Webdriver call function Java Scipt

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

Jun 14, 2018 in Selenium by Samarpit
• 5,910 points
3,797 views