Most voted questions in Selenium

0 votes
1 answer

Error select.select_by_visible_text('Jan 2018')

Your import statement is incorrect. As of 3.9, ...READ MORE

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

Selenium wait for Ajax content to load

you need to wait for Javascript and ...READ MORE

Jul 31, 2018 in Selenium by Meci Matt
• 9,460 points
8,181 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,460 points
1,451 views
0 votes
1 answer

Run chrome browser in inconginto Mode in Selenium

One other way to launch Chrome in ...READ MORE

Jul 31, 2018 in Selenium by Meci Matt
• 9,460 points
34,502 views
0 votes
1 answer

Finding xPath for an element with text

I think the problem is here: [contains(text()='Some text')] To ...READ MORE

Jul 31, 2018 in Selenium by Meci Matt
• 9,460 points
11,759 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,910 points
1,155 views
0 votes
1 answer

Error: org.openqa.selenium.ElementNotInteractableException

Try to use javascriptExecutor to click the ...READ MORE

Jul 30, 2018 in Selenium by Samarpit
• 5,910 points
8,154 views
0 votes
1 answer

“NoSuchElementException” using Selenium Webdriver

When you obtain the xpath from object repository ensure ...READ MORE

Jul 27, 2018 in Selenium by Samarpit
• 5,910 points
7,386 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,460 points
2,048 views
0 votes
1 answer

I wanted to know if there a good IE-based Selenium IDE?

Selenium does not have an IDE for ...READ MORE

Jul 26, 2018 in Selenium by Meci Matt
• 9,460 points
2,254 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,910 points
1,304 views
0 votes
1 answer

How to click a span with given text using Selenium Python

If ALL_USA is subject to change, then ...READ MORE

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

Current URL of the already opened browser using selenium

Use Something like this: //get all the windows ...READ MORE

Jul 25, 2018 in Selenium by Samarpit
• 5,910 points
6,824 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,910 points
1,393 views
0 votes
1 answer

Selenium WebDriver: naukri.com login fails every time

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

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

Setting up Chromeoptions and setExperimentalOption code

Here are the complete details: ChromeOptions options = ...READ MORE

Jul 23, 2018 in Selenium by Samarpit
• 5,910 points
12,786 views
0 votes
4 answers

Throwing error - org.openqa.selenium.SessionNotCreatedException: session not created exception

Updating the chrome driver and chrome browser ...READ MORE

Apr 12, 2020 in Selenium by Vamsi
25,992 views
0 votes
1 answer

Downloading Image using send Keys Selenium Chrome

Use the below code to save the ...READ MORE

Jul 20, 2018 in Selenium by Samarpit
• 5,910 points
10,316 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,460 points
1,429 views
0 votes
1 answer

How to find Elements by their Attribute in Python Selenium WebDriver

To find all the <td> tags which have attribute data-sortable-id you ...READ MORE

Jul 19, 2018 in Selenium by Samarpit
• 5,910 points
10,931 views
0 votes
3 answers

How to click the search button using Selenium web driver and Python

You can try with tag. #this code will ...READ MORE

Apr 10, 2019 in Selenium by Matin
16,779 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,910 points
2,508 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,910 points
907 views
0 votes
1 answer

What is the difference between running Protractor with and without Selenium WebDriver?

If directConnect is true then it will ...READ MORE

Jul 17, 2018 in Selenium by Meci Matt
• 9,460 points
5,237 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,910 points
2,639 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,910 points
2,619 views
0 votes
1 answer

Xpath not working in firefox but working fine in chrome

Try to search above xpath in chrome ...READ MORE

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

Headless gecko driver using Selenium

Try the below steps. It works for ...READ MORE

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

Login window session expiry using Selenium

Just write a function in a retry, ...READ MORE

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

Selecting xpath for with multiple conditions using Selenium and Python

Use the XPath in either of the following ways ...READ MORE

Jul 13, 2018 in Selenium by Samarpit
• 5,910 points
30,663 views
0 votes
2 answers

What is the difference between BeforeClass and BeforeTest in TestNG - Selenium WebDriver

@Before and @After are called for every ...READ MORE

Mar 10, 2019 in Selenium by onlyfullstack
9,355 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,460 points
1,749 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,460 points
1,379 views
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
9,251 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
4,404 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
3,495 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
882 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,768 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,966 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,843 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
4,274 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
6,396 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
859 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
8,261 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,756 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
3,205 views