Most viewed questions in Selenium

+1 vote
1 answer

How to handle drop down having SPAN Tags. Please help me.

Hi can u try this once. Select select ...READ MORE

Jun 3, 2020 in Selenium by Sri
• 3,190 points
5,257 views
+2 votes
1 answer

How to click a particular link using selenium java?

You can use the following steps to ...READ MORE

Dec 14, 2018 in Selenium by Shuvodip
5,255 views
0 votes
3 answers

Trying to upload files using Selenium(C#)

You can try using Javascript Executor to ...READ MORE

Aug 23, 2019 in Selenium by Abha
• 28,140 points
5,254 views
0 votes
1 answer

How to define capabilities using ChromeOptions for RemoteWebDriver in Selenium?

Hi Celina, to define capabilities for RemoteWebdriver, ...READ MORE

Jul 5, 2019 in Selenium by Abha
• 28,140 points
5,253 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

Selenium ChromeDriver opens only the default chrome page

You will see a default profile unless ...READ MORE

Mar 5, 2019 in Selenium by Vaishnavi
• 1,180 points
5,219 views
0 votes
2 answers

What is the best reporting tool that can be used with selenium?

I guess you can use the below ...READ MORE

Dec 20, 2018 in Selenium by Shuvodip
5,215 views
0 votes
1 answer

How to disable Developer Mode Extension in Selenium?

Hello Rehman, you can disable Developer Mode ...READ MORE

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

DesiredCapabilities in Selenium WebDriver

DesiredCapabilities is a class in org.openqa.selenium.remote.DesiredCapabilities package ...READ MORE

Apr 4, 2018 in Selenium by nsv999
• 5,500 points
5,184 views
0 votes
2 answers

Latest Version of Chrome Driver for Selenium Webdriver

Hi, you can get the latest version ...READ MORE

Aug 28, 2019 in Selenium by Abha
• 28,140 points
5,174 views
0 votes
1 answer

What is a Window Handle in Selenium Webdriver?

Hi Fardeen, a Window Handle is a unique ...READ MORE

May 13, 2019 in Selenium by Sharath
5,170 views
0 votes
1 answer

Can Selenium webdriver attach to already open browser window?

Nope, it can't be done. It's one ...READ MORE

Sep 25, 2018 in Selenium by Meci Matt
• 9,460 points
5,163 views
0 votes
1 answer

Handling a popup window using selenium

This is a code I use when ...READ MORE

Aug 31, 2018 in Selenium by Meci Matt
• 9,460 points
5,138 views
0 votes
1 answer

What are the main types of regex quantifiers used in Selenium Webdriver?

Hi Andrew, some of the regex quantifiers ...READ MORE

Jun 26, 2019 in Selenium by Abha
• 28,140 points
5,122 views
0 votes
1 answer

What is the difference between @BeforeClass and @BeforeTest?

Hi Mithun, @BeforeTest method runs before any ...READ MORE

Jun 25, 2019 in Selenium by Pragya
5,110 views
0 votes
1 answer

What is Xpath and what are the types of it in Selenium Webdriver?

Hi Piyush, XPath is defined as XML path. It is ...READ MORE

May 9, 2019 in Selenium by Pratibha
• 3,690 points
5,107 views
0 votes
1 answer

How can I install and setup Pytest framework?

Hey Yashmin, follow these steps to install ...READ MORE

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

How to download a file in chrome or mozilla browser using Selenium WebDriver?

Hey Uday, you can write following lines ...READ MORE

May 7, 2019 in Selenium by Pratibha
• 3,690 points
5,056 views
0 votes
4 answers

How to close login pop up message in Selenium Webdriver?

did you find solution for this? READ MORE

Nov 5, 2020 in Selenium by anonymous

reshown Nov 5, 2020 by Sirajul 5,051 views
0 votes
1 answer

Difference between Selenium IDE, RC and WebDriver

Selenium has 4 components:- IDE, Grid, RC and ...READ MORE

Apr 30, 2018 in Selenium by Meci Matt
• 9,460 points
5,050 views
0 votes
1 answer

How to launch Chrome browser using Selenium Webdriver on MAC?

Hey Lucas, you can launch chrome browser ...READ MORE

Jul 18, 2019 in Selenium by Abha
• 28,140 points
5,029 views
0 votes
1 answer

Selenium python find_element_by_class_name() stopped working from v 2.2 to 2.21 — not able to use 'Compound Class Name'

The problem about WebDriver is that it ...READ MORE

Aug 23, 2018 in Selenium by Meci Matt
• 9,460 points
4,980 views
0 votes
1 answer

How to open chrome driver in incognito mode?

Hey @Sradha, You can use the below code:- System.setProperty("webdriver.chrome.driver","C:\\Users\\Nabarupa_Das\\Downloads\\chromedriver.exe"); ChromeOptions ...READ MORE

Dec 28, 2018 in Selenium by Nabarupa
4,970 views
0 votes
1 answer

Scrolling down a page with Selenium Webdriver

You can perform this action easily using ...READ MORE

Sep 25, 2018 in Selenium by Meci Matt
• 9,460 points
4,968 views
0 votes
2 answers

Python & Selenium: How to find and click on YouTube's Like button

Hello Nitin, as the Like button on ...READ MORE

Aug 23, 2019 in Selenium by Abha
• 28,140 points
4,949 views
+1 vote
1 answer

java error in eclipse

Hey Siddharth, try changing the module version, ...READ MORE

Jul 16, 2019 in Selenium by Abha
• 28,140 points
4,939 views
0 votes
1 answer

How to handle Bootstrap dropdown in Selenium Webdriver?

Hi Neeru, Bootstrap dropdown isn't like traditional ...READ MORE

Jul 19, 2019 in Selenium by Anvi
• 14,150 points
4,903 views
0 votes
1 answer

How to print all google suggestions for a keyword using Selenium Webdriver?

Hello Cherry, below is the automation script ...READ MORE

May 23, 2019 in Selenium by Abha
• 28,140 points
4,865 views
0 votes
1 answer

Double click a record in a grid using Selenium webdriver

Try Actions class to perform this Actions action ...READ MORE

Mar 30, 2018 in Selenium by Damon Salvatore
• 5,980 points
4,863 views
0 votes
1 answer

How to check all checkboxes on a webpage using Selenium?

Hey Jenny, to check all the checkboxes ...READ MORE

Jun 26, 2019 in Selenium by Suraj
4,856 views
0 votes
1 answer

Maven project is not generating TestNG results within the test-output folder in a Selenium project

You can find the answer here. In Run ...READ MORE

Aug 30, 2020 in Selenium by Karthikeya
• 140 points
4,839 views
+1 vote
1 answer

Angular JS: Selenium cannot click a button by python code on mac

You can try clicking it with javascript ...READ MORE

Aug 9, 2018 in Selenium by Samarpit
• 5,910 points
4,837 views
0 votes
1 answer

how to solve " java.lang.IllegalStateException"?

Include the below line in your code ...READ MORE

Jun 24, 2019 in Selenium by John
4,832 views
+1 vote
2 answers

selenium-python Process unexpectedly closed with status 1

Hi paragf! I checked your code.  Firstly, there ...READ MORE

Sep 28, 2018 in Selenium by Omkar
• 69,210 points
4,826 views
0 votes
1 answer

What are the software requirements to run a Cucumber web test?

Hi Govind, to run a Cucumber Web ...READ MORE

Aug 26, 2019 in Selenium by Abha
• 28,140 points
4,810 views
0 votes
1 answer

How to switch tabs using Selenium WebDriver with Java?

psdbComponent.clickDocumentLink(); ArrayList<String> tabs2 = ...READ MORE

Dec 3, 2020 in Selenium by Gitika
• 65,910 points
4,806 views
+1 vote
1 answer

How to maximize chrome browser in Selenium Java?

You can use Chrome options for playing ...READ MORE

Dec 17, 2018 in Selenium by Nabarupa
4,806 views
0 votes
1 answer

Selenium + Java - drag and drop not working on selenium 3.8

How about you try adding the below ...READ MORE

Mar 28, 2018 in Selenium by nsv999
• 5,500 points
4,760 views
0 votes
1 answer

How to locate an element by partially comparing its attributes in XPath?

Hey Lakshya, you can locate an element ...READ MORE

Jun 24, 2019 in Selenium by Abha
• 28,140 points
4,743 views
0 votes
1 answer

How to Capture Network Traffic and Http Requests From WebDriver?

Hi Rubin, you can use following piece ...READ MORE

Aug 14, 2019 in Selenium by Abha
• 28,140 points
4,718 views
0 votes
1 answer

What are the phases of Automation Testing Lifecycle?

Hi @Jason, stages of Automation testing life-cycle ...READ MORE

May 13, 2019 in Selenium by Abha
4,710 views
0 votes
2 answers

How to read OTP in JAVA Selenium using android phone

Try the following: Step 1: Connect the Phone/Dongle ...READ MORE

Oct 7, 2020 in Selenium by Karan
• 19,610 points
4,705 views
0 votes
1 answer

How can I return value from javascript code in Selenium Webdriver?

Hey Kundan, you can use the return ...READ MORE

Jul 23, 2019 in Selenium by Abha
• 28,140 points
4,679 views
0 votes
1 answer

Error: InvalidSelectorException in selenium

The error you are getting can be ...READ MORE

Feb 8, 2019 in Selenium by Rahul
4,668 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
4,656 views
0 votes
1 answer

Is there a way to pass on the options/ flags to Selenium if i'm scripting in Python?

This is the usage: from selenium import webdriver from ...READ MORE

Jun 8, 2018 in Selenium by king_kenny
• 3,710 points
4,650 views
0 votes
1 answer

What is a Session Id in Selenium Webdriver?

Hey Uruj, in Selenium Webdriver Session ID ...READ MORE

Aug 21, 2019 in Selenium by Abha
• 28,140 points
4,640 views
0 votes
1 answer

Selenium WebDriver operates very slow

Allowing WebDriver to attach to a running browser - ...READ MORE

Aug 24, 2018 in Selenium by Meci Matt
• 9,460 points
4,629 views
0 votes
1 answer

How to solve this warning? The constructor ChromeDriver(capabilities) is deprecated.

Since ChromeDriver(service, capabilities) is deprecated now as well, you ...READ MORE

Jun 8, 2020 in Selenium by Kim
4,623 views
0 votes
1 answer

Need to select an IFrame with selenium (python)

Well for me, something like this worked. ...READ MORE

May 3, 2018 in Selenium by sniffy_god
• 780 points
4,612 views