Trending questions in Selenium

0 votes
1 answer

Selenium Exception: Element is not visible

Finding the element before locating the one ...READ MORE

May 7, 2018 in Selenium by king_kenny
• 3,650 points
3,916 views
0 votes
1 answer

How to run Selenium scripts with JMeter

You can run the tests from Jmeter ...READ MORE

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

Screenshot with Selenium WebDriver

Try the below code: import java.io.File; import org.openqa.selenium.OutputType; import org.openqa.selenium.TakesScreenshot; import ...READ MORE

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

Preserving date modified when retrieving file using Apache FTPClient

Below will help you: public boolean retrieveFile(String path, ...READ MORE

Aug 3, 2018 in Selenium by Samarpit
• 5,130 points
73 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,130 points
1,249 views
0 votes
1 answer

Selenium WebDriver: naukri.com login fails every time

Use the following code after driver.get(URL), String URL1="https://login.naukri.com/nLogin/Login.php"; String ...READ MORE

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

What is following-sibling in selenium?

Here, ul has 8 children(8-li) on total.  And, ...READ MORE

Jun 1, 2018 in Selenium by Vinita
• 220 points
2,704 views
0 votes
1 answer

How to get list of tests from Test Explorer in VS

Select all tests in Test Explorer and ...READ MORE

Aug 1, 2018 in Selenium by Samarpit
• 5,130 points
66 views
0 votes
1 answer

Reading data from Excel in my Selenium test

Log4j problems are usually thrown because of ...READ MORE

Apr 6, 2018 in Selenium by nsv999
• 5,110 points
5,083 views
0 votes
1 answer

How to change the file name downloading using Selenium ChromeDriver?

This is not possible by just using ...READ MORE

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

Need details about Page load strategy for Chromedriver

According to WebDriver docs, when Page Loading ...READ MORE

May 30, 2018 in Selenium by king_kenny
• 3,650 points
2,722 views
0 votes
1 answer

How to avoid Compound Class name error in Page Object?

Use a CSS selector instead: .country.name CSS selector is ...READ MORE

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

Fails to open a link in Python using Selenium Webdriver

Try resetting value of y. Put y="" ...READ MORE

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

Selenium WebDriver.get(url) not working

It is a Selenium defect. Problem is ...READ MORE

Jun 7, 2018 in Selenium by Meci Matt
• 9,420 points
2,331 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,130 points
1,206 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,130 points
1,068 views
0 votes
1 answer

Can selenium handle autocomplete?

The type command may not be enough ...READ MORE

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

Handling elements inside Shadow DOM in Selenium WebDriver

You can use the driver.executeScript() method to access the ...READ MORE

Jun 11, 2018 in Selenium by Meci Matt
• 9,420 points
2,121 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,420 points
1,343 views
0 votes
1 answer

How to handle Pop-up in Selenium WebDriver using Java

Actually, its pretty simple. Use this code ...READ MORE

Apr 5, 2018 in Selenium by nsv999
• 5,110 points
4,924 views
0 votes
1 answer

Fail to connect to internet : Firefox 53 launched with gecko 0.16.1

Below code will help you: FirefoxProfile profile = ...READ MORE

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

How to locate class using enums in base class?

Define getters in PageClass like getDefaultFunctionality(), getConstrainMovement() etc. and then redesign ...READ MORE

Jul 26, 2018 in Selenium by Samarpit
• 5,130 points
21 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,130 points
939 views
0 votes
1 answer

Not able to login using selenium webdriver using Java Language

Try to send text to the username ...READ MORE

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

GUI with pyqt5 QLineEdit using Web driver Script

For a QLineEdit you use the your ...READ MORE

Jul 23, 2018 in Selenium by Samarpit
• 5,130 points
91 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,420 points
806 views
0 votes
1 answer

Google search input text box

It seems you tried incorrect id. Please ...READ MORE

Jul 24, 2018 in Selenium by Samarpit
• 5,130 points
28 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,130 points
581 views
0 votes
1 answer

How should I configure the chromedriver.exe in eclipse

Use the page factory pattern, working example: public ...READ MORE

Mar 27, 2018 in Selenium by Atul
• 5,530 points
5,072 views
0 votes
1 answer

How to handle the popup of file upload in Windows OS with WebDriver?

The value of name locator has probably ...READ MORE

Apr 25, 2018 in Selenium by king_kenny
• 3,650 points
3,814 views
0 votes
1 answer

Login window session expiry using Selenium

The details you can find in below ...READ MORE

Jul 13, 2018 in Selenium by Samarpit
• 5,130 points
402 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,420 points
486 views
0 votes
1 answer

Setting browser width and height in Selenium Web Driver

For me, the only thing that worked ...READ MORE

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

isDisplayed Error: No element found using locator instead of boolean

You should check whether an element is ...READ MORE

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

Popup messages using Selenium Web Driver

Try to get text From Pop Up: String ...READ MORE

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

How do i click on <input type=file> on any browser if i'm testing with Selenium Webdriver?

Does not matter which OS or which ...READ MORE

Apr 29, 2018 in Selenium by king_kenny
• 3,650 points
3,552 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,130 points
875 views
0 votes
1 answer

How to execute browser less testing in Selenium

First, you need to install:-  install PhantomJS. After that ...READ MORE

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

preceding-sibling in xpath, Selenium?

Here, ul has 8 children(8-li) on total.  And, ...READ MORE

Jun 1, 2018 in Selenium by Vinita
• 220 points
2,008 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,130 points
788 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,420 points
249 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,420 points
814 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,420 points
726 views
0 votes
1 answer

Why to use WebDriver instead of Selenium IDE?

Selenium IDE is a Record and Playback ...READ MORE

Jul 11, 2018 in Selenium by Meci Matt
• 9,420 points
158 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,420 points
402 views
0 votes
1 answer

How do we use assert() in Selenium WebDriver?

So, for implementing Assert(), you need to ...READ MORE

Apr 5, 2018 in Selenium by nsv999
• 5,110 points
4,296 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,420 points
916 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
792 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
41 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
476 views