Most viewed questions in Selenium

+1 vote
2 answers

Drop-down menu option value not working using Selenium (Python)

from selenium.webdriver.support.select import Select inputElementG ...READ MORE

Nov 28, 2018 in Selenium by Rijhu mal
14,486 views
0 votes
1 answer

How to locate web elements in Selenium-Python?

@Urvashi in Python, Selenium Webdriver API supports ...READ MORE

May 27, 2019 in Selenium by Anvi
• 14,150 points
14,451 views
+1 vote
1 answer

Python Selenium - Trying to find element by text on page

Hello @User, Here is an example for ...READ MORE

Dec 31, 2018 in Selenium by Priyaj
• 58,090 points
14,368 views
0 votes
1 answer

What are the advantage of using testNG?

The main advantage of testNG can be ...READ MORE

Jan 3, 2019 in Selenium by Dyna
14,288 views
0 votes
1 answer

How to check whether the current version of my firefox browser is compatible with Selenium Webdriver current version?

Hi Pankhuri, to check the compatibility of ...READ MORE

Jul 17, 2019 in Selenium by Abha
• 28,140 points
14,268 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,360 points
14,239 views
–1 vote
1 answer

Difference between sleep() and setSpeed() in selenium

Both sleep() and setSpeed() are used to ...READ MORE

Feb 13, 2019 in Selenium by Priyaj
• 58,090 points
14,104 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
13,803 views
+1 vote
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,910 points
13,746 views
0 votes
1 answer

Unable to find Firebug and Firepath plugins in Firefox broswer?

@Lakshmi, you can't find these plugins of ...READ MORE

May 29, 2019 in Selenium by Tharun
13,733 views
0 votes
1 answer

What is the difference between getWindowHandle() and getWindowHandles() methods in Selenium WebDriver?

Hey Jennifer, difference between getWindowHandle() and getWindowHandles() ...READ MORE

Jun 4, 2019 in Selenium by Anvi
• 14,150 points
13,606 views
0 votes
1 answer

Fluent wait example with code

When we try to test the presence ...READ MORE

Jun 5, 2018 in Selenium by walter 123
• 240 points
13,484 views
0 votes
1 answer

What is the difference between test scenarios, test cases and test script?

Difference between test scenarios and test cases ...READ MORE

Jan 28, 2019 in Selenium by Frankie
• 9,830 points
13,354 views
0 votes
1 answer

How to verify page title in Selenium?

Hey Janvi, you can verify a page's ...READ MORE

Jul 4, 2019 in Selenium by Lavanya
13,343 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,460 points
13,297 views
0 votes
1 answer

Using XPath preceding-sibling correctly

Since all buttons are on the same ...READ MORE

Apr 18, 2018 in Selenium by Vardy
• 2,360 points
13,290 views
0 votes
2 answers

How can I automate the process of adding a product to cart in Flipkart?

Hey @Jino, it was pretty good brain ...READ MORE

Dec 21, 2018 in Selenium by Nabarupa
13,258 views
0 votes
1 answer

How to type text in a new line inside a text area using Selenium Webdriver?

Hey Unnati, '\n' is usually used to type text ...READ MORE

Jun 25, 2019 in Selenium by Abha
• 28,140 points
13,248 views
0 votes
1 answer

How to auto-refresh the ChromeDriver using Selenium Webdriver?

You can use this command. Also, refresh ...READ MORE

May 10, 2019 in Selenium by Vaishnavi
• 1,180 points

edited May 10, 2019 by Omkar 13,245 views
0 votes
1 answer

How to read test data from an excel sheet and use it to test facebook login in Selenium Webdriver?

Hi Mohan, you can use following code ...READ MORE

Jul 17, 2019 in Selenium by Abha
• 28,140 points
13,236 views
0 votes
2 answers

HELP!! Exception in thread "main" java.lang.IllegalStateException: The driver executable does not exist: C:\Users\tarin\JAVA-practice\Tutorial2\‪C:\Test Automation\Jars\chromedriver.exe

Use "‪C:\\Test Automation\\Jars\\chromedriver."\\chromedriver.exe" just added chromedriver one ...READ MORE

Aug 13, 2020 in Selenium by Anil
13,213 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,194 views
0 votes
1 answer

How can I get Webdriver Session ID in Selenium?

Hey Nargis, you can use following methods ...READ MORE

Jun 21, 2019 in Selenium by Abha
• 28,140 points
13,146 views
0 votes
1 answer

How to open browser window in incognito/private mode using python selenium webdriver?

Hi Nuri, to open a browser window ...READ MORE

Jul 31, 2019 in Selenium by Anvi
• 14,150 points
13,135 views
+1 vote
1 answer

Error message: “'chromedriver' executable needs to be available in the path”

Okay there are a couple of wrong ...READ MORE

Apr 30, 2018 in Selenium by king_kenny
• 3,710 points
13,086 views
0 votes
1 answer

selenium.common.exceptions.ElementNotInteractableException: Message: element not interactable

A possibility is that the element is ...READ MORE

Apr 26, 2020 in Selenium by Sirajul
• 59,230 points
13,057 views
–1 vote
1 answer

How can I access the parent of a node with XPath?

Hey Hemant, we can use the double ...READ MORE

Jun 24, 2019 in Selenium by Anvi
• 14,150 points
12,969 views
0 votes
1 answer

Clicking on hidden element in Selenium WebDriver

let us first store that element in the ...READ MORE

Jun 12, 2018 in Selenium by Meci Matt
• 9,460 points
12,940 views
0 votes
2 answers

Finding WebDriver element with Class Name in java

The better way to handle this element ...READ MORE

Apr 10, 2018 in Selenium by nsv999
• 5,500 points
12,732 views
0 votes
1 answer

How can I login to flipkart using selenium?

Hey @Jino, glad you are liking selenium ...READ MORE

Dec 20, 2018 in Selenium by Nabarupa
12,719 views
+1 vote
1 answer

How to access emails in gmail and opening the latest one from unread mails using Selenium Webdriver?

Hey Pratyush, to access emails from your ...READ MORE

May 21, 2019 in Selenium by Abha
• 28,140 points
12,675 views
0 votes
2 answers

Python: Using an existing google chrome profile with selenium chrome web driver

The problem is with the string "C:\Users\Eric\Desktop\beeline.txt" Here, \U starts an ...READ MORE

May 24, 2019 in Selenium by shinio llahsra
12,610 views
0 votes
1 answer

How to Check if any alert exists in selenium using Python

This might work for you. It did ...READ MORE

May 10, 2018 in Selenium by king_kenny
• 3,710 points
12,589 views
0 votes
2 answers

Couldn't sign to Chrome with selenium

Yes. I have spent my whole day ...READ MORE

Aug 25, 2020 in Selenium by anonymous
12,584 views
0 votes
1 answer

How to launch Edge browser with Selenium Webdriver?

Hey Tamanna, you can use following lines ...READ MORE

Jul 15, 2019 in Selenium by Anvi
• 14,150 points
12,584 views
0 votes
1 answer

Need to scroll down for locating an Element with Selenium

There are a couple of options for ...READ MORE

Apr 21, 2018 in Selenium by king_kenny
• 3,710 points
12,558 views
0 votes
1 answer

What is a Modular Framework and why it is useful in Selenium webdriver?

Hi Junaid, as the name suggests, Modular ...READ MORE

May 13, 2019 in Selenium by Abha
• 28,140 points
12,544 views
+1 vote
0 answers

Using the Selenium WebDriver, Unable to launch chrome browser on Mac

Attached screenshot of code and execution consoleI ...READ MORE

Nov 21, 2019 in Selenium by Reshmi
• 130 points
12,538 views
0 votes
1 answer

What are the different Fixture Scopes in Pytest?

Hey Julia, a fixture’s scope defines how many ...READ MORE

Aug 22, 2019 in Selenium by Anvi
• 14,150 points
12,534 views
0 votes
1 answer

How can I read a CSV file in Selenium using Webdriver?

Hey Trisha, you can read a CSV ...READ MORE

Jul 17, 2019 in Selenium by Abha
• 28,140 points
12,524 views
0 votes
0 answers

org.openqa.selenium.ElementClickInterceptedException Selenium WebDriver Java

Hello, My execution does clicks on webelement as ...READ MORE

Jul 21, 2020 in Selenium by sainiranjan
• 120 points
12,484 views
0 votes
2 answers

When executing my Jenkins tests with Selenium WebDriver, I do not see a GUI.

Hi eLiJha, I also faced the same issue ...READ MORE

Jul 15, 2019 in Selenium by nayan
• 160 points
12,444 views
0 votes
1 answer

Selenium WebDriver typing speed is slow in input text field

It worked for me in the 64bit ...READ MORE

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

Moving down and moving left the scroll bar that exists within the webpage

Below code will work: Do find the ...READ MORE

May 24, 2018 in Selenium by Samarpit
• 5,910 points
12,390 views
0 votes
1 answer

How can I clear text of a textbox using Python Selenium WebDriver?

Hi Sonakshi, we can clear text of ...READ MORE

Jul 31, 2019 in Selenium by Anvi
• 14,150 points
12,381 views
0 votes
1 answer

Send keys control + click in Selenium with Python bindings

Use an ActionChain with key_down to press the control key, and key_up to ...READ MORE

Aug 23, 2018 in Selenium by Meci Matt
• 9,460 points
12,330 views
0 votes
0 answers

Getting Java Null Pointer Exception on running the test case in Seleniumn.Can someone pls let me know where i need to fix in order to progress

Below is the Error: java.lang.RuntimeException: java.lang.NullPointerException at org.testng.internal.MethodInvocationHelper.invokeMethodNoCheckedException(MethodInvocationHelper.java:49) at org.testng.internal.MethodInvocationHelper.invokeDataProvider(MethodInvocationHelper.java:131) at ...READ MORE

Sep 11, 2020 in Selenium by sandhya
• 180 points
12,238 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 30, 2018 in Selenium by sniffy_god
• 780 points
12,145 views
0 votes
1 answer

How to switch back from a frame to default in Selenium Webdriver?

Hey Rupesh, to switch back from a ...READ MORE

Jun 25, 2019 in Selenium by Anvi
• 14,150 points
12,112 views