Most viewed questions in Selenium

0 votes
1 answer

Find div element by multiple class names?

I don't think Barak manos's answer has ...READ MORE

Dec 4, 2020 in Selenium by Gitika
• 65,910 points
18,761 views
+2 votes
2 answers

how to install firebug or firepath in firefox?

Hey @Charumatibahen, firebug is no more in ...READ MORE

Dec 28, 2018 in Selenium by Priyaj
• 58,090 points
18,717 views
0 votes
1 answer

How to use keyboard shortcuts in selenium?

Yes, you can use all the keyboard ...READ MORE

Dec 25, 2018 in Selenium by Shuvodip
18,675 views
+1 vote
2 answers

How to get page source as it is in browser using selenium.

I needed to wait for an element ...READ MORE

Apr 18, 2020 in Selenium by laiman
• 330 points
18,603 views
0 votes
2 answers

How to scroll the Page up or down in Selenium WebDriver? (using java)

JavascriptExecutor jsx = (JavascriptExecutor)driver; jsx.executeScript("window.scrollBy(0,555)", ""); or Action classes ...READ MORE

Sep 6, 2020 in Selenium by Sri
• 3,190 points
18,491 views
0 votes
1 answer

Automate the searching of Samsung brand mobile phones in Flipkart website using Selenium Webdriver.

Hey Dhruv, you can write automation script ...READ MORE

May 21, 2019 in Selenium by Anvi
• 14,150 points
18,488 views
0 votes
1 answer

Not able to open a new URL in a new tab in Selenium

There is a bug in ChromeDriver that ...READ MORE

May 21, 2018 in Selenium by Meci Matt
• 9,460 points
18,221 views
0 votes
1 answer

Login test for Gmail with Cucumber and Selenium Webdriver

Hi Devendra, following feature-file shows the scenario ...READ MORE

Aug 5, 2019 in Selenium by Abha
• 28,140 points
18,075 views
0 votes
2 answers

How to submit a form in Selenium webdriver if submit button can't be identified?

In addition to flat out submitting the ...READ MORE

Jul 31, 2020 in Selenium by anonymous
17,938 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,710 points
17,903 views
+1 vote
3 answers

java.lang.ClassNotFoundException: okhttp3.ConnectionPool - Selenium Error

The only reason for ClassNotFoundException is if ...READ MORE

Mar 30, 2018 in Selenium by nsv999
• 5,500 points
17,584 views
+1 vote
3 answers

What is the command used to register gecko driver?

System.setProperty("webdriver.gecko.driver", "C:\\gecko ...READ MORE

Jan 10, 2019 in Selenium by Frankie
• 9,830 points
17,539 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,390 views
0 votes
1 answer

How can we read data from an excel sheet in Selenium webdriver?

Hi Tarun, to read data from an ...READ MORE

May 8, 2019 in Selenium by Abha
• 28,140 points
17,194 views
0 votes
1 answer

Send keys not working selenium webdriver python

As you mentioned send_keys("TEST") are not working, there are ...READ MORE

Sep 28, 2018 in Selenium by Meci Matt
• 9,460 points
17,161 views
0 votes
2 answers

How to verify color of a web element in Selenium Webdriver?

document.getElementsByTagName('div')[0].style.backgroundColor READ MORE

Aug 31, 2020 in Selenium by Sri
• 3,190 points
17,000 views
0 votes
1 answer

What are the differences between getText() and getAttribute() functions in Selenium WebDriver?

See, both are used to retrieve something ...READ MORE

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

How to test React JS dropdown with Selenium and java?

First of all you need to click ...READ MORE

Aug 20, 2019 in Selenium by ghoshPooja
• 140 points
16,934 views
0 votes
1 answer

Using Selenium, is it possible to verify if text is present inside a PDF which is loaded by the browser?

Reading PDF contents is not a functionality ...READ MORE

Apr 18, 2018 in Selenium by king_kenny
• 3,710 points
16,851 views
0 votes
1 answer

What is the super interface of webdriver in Selenium Webdriver?

Hi Dushyant, SearchContext is the super interface of ...READ MORE

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

How can I perform mouse hover action in Selenium-Python?

Hey Payal, use the code snippet shown ...READ MORE

Jul 24, 2019 in Selenium by Abha
• 28,140 points
16,721 views
0 votes
2 answers

How to get all options of a dropdown using python selenium webdriver?

WebElement element = driver.findElement(By.id("")); Select select = new ...READ MORE

Sep 6, 2020 in Selenium by Sri
• 3,190 points
16,707 views
0 votes
2 answers

How can I verify Error Message on a webpage using Selenium Webdriver?

For this type of message that gets ...READ MORE

May 31, 2020 in Selenium by divyang
• 140 points
16,706 views
0 votes
1 answer

Selenium throws an error “selenium.common.exceptions.WebDriverException:

In your case the path of the ...READ MORE

May 8, 2018 in Selenium by Samarpit
• 5,910 points
16,610 views
+1 vote
1 answer

Disable notification" “Chrome is being controlled by automated test software” in ChromeDriver 2.36

"disable-infobars" flag has been deprecated, but you ...READ MORE

Mar 26, 2018 in Selenium by nsv999
• 5,500 points
16,576 views
0 votes
1 answer

Which programming languages are supported by selenium webdriver to write test cases?

Hey Aman, following programming languages are supported ...READ MORE

Jun 24, 2019 in Selenium by Abha
• 28,140 points
16,553 views
+1 vote
1 answer
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,196 views
+1 vote
1 answer

How can we get the font size, font color, font type used for a particular text on a web page using Selenium web driver?

Hi Deepti, you can use getcssvalue() method to ...READ MORE

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

How to install firebug in chrome?

FIrebug was a chrome extension that was ...READ MORE

Dec 21, 2018 in Selenium by Shuvodip
15,986 views
0 votes
2 answers

How to avoid the pop-up window in chrome browser with Selenium?

Alert alertCancel = driver.switchTo().alert(); READ MORE

Sep 6, 2020 in Selenium by Sri
• 3,190 points
15,957 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,910 points
15,768 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
15,676 views
0 votes
1 answer

How to switch between two windows in browser using Selenium java

Yes, this is possible. First, you need ...READ MORE

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

How to open a browser window in full screen using Selenium WebDriver with C#

Hi , we have inbuilt method Maximize(). driver.Manage().Wind ...READ MORE

Sep 6, 2020 in Selenium by Sri
• 3,190 points
15,581 views
0 votes
1 answer

Getting error while running a XML file in TestNG

Hello @Sradha, The synatx of using test is ...READ MORE

Dec 26, 2018 in Selenium by Rashmi
15,562 views
+1 vote
2 answers

How to get the title of a webpage using Selenium Java?

Essentially, driver.getTitle(); function can be used to ...READ MORE

Dec 17, 2018 in Selenium by Vardhan
• 13,190 points
15,311 views
0 votes
1 answer

getting java.lang.IllegalStateException: The path to the driver executable must be set by the webdriver.chrome.driver system property

Hi Sivaranjani, to resolve your issue, Driver path ...READ MORE

Sep 3, 2019 in Selenium by Abha
• 28,140 points
15,229 views
0 votes
1 answer

Installing Selenium Webdriver with Python package

Hey Hemant, for installing Selenium Webdriver with ...READ MORE

May 8, 2019 in Selenium by Anvi
• 14,150 points
15,187 views
0 votes
1 answer

How to send ALT/SHIFT/CONTROL key in Selenium WebDriver?

When we generally use ALT/SHIFT/CONTROL keys, we ...READ MORE

Feb 8, 2019 in Selenium by Frankie
• 9,830 points
15,121 views
0 votes
2 answers

What are the things we cannot automate using selenium?

1) Regression TC that require manual involvement ...READ MORE

Feb 27, 2020 in Selenium by Divya Krishnan
15,018 views
0 votes
1 answer

Where do I get the ChromeDriver.exe from? The download link isn't available

You can download the chromedriver.exe from this ...READ MORE

Apr 3, 2018 in Selenium by nsv999
• 5,500 points
14,998 views
0 votes
1 answer

How to install and configure PyDev in Eclipse?

Hey Manisha, follow the steps mentioned below ...READ MORE

May 9, 2019 in Selenium by Avantika
14,932 views
+1 vote
2 answers

Python with Selenium issue: “Chrome is being controlled by automated test software”

from selenium import webdriver chrome_options = webdriver.ChromeOptions() chrome_options.add_experimental_option("useAutomationExtension", False) chrome_options.add_experimental_option("excludeSwitches",["enable-automation"]) driver ...READ MORE

Apr 20, 2020 in Selenium by Manoj
14,909 views
0 votes
1 answer

How to select first instance of a button in a table row based on cell content by XPath

This xpath should give you all the ...READ MORE

Jun 6, 2018 in Selenium by jons
14,868 views
0 votes
1 answer

Can we run multiple instances simultaneously with Selenium WebDriver?

A better option is to create multiple ...READ MORE

Mar 24, 2018 in Selenium by nsv999
• 5,500 points
14,703 views
+1 vote
1 answer

Selenium Eror: org.openqa.selenium.UnhandledAlertException: unexpected alert open

Even I had a similar problem. This ...READ MORE

May 29, 2018 in Selenium by sniffy_god
• 780 points
14,669 views
0 votes
1 answer

Read PDF content on a browser using Selenium webdriver?

Hey Parvati, you can use Apache PDFBox JAR ...READ MORE

Jul 5, 2019 in Selenium by Abha
• 28,140 points
14,572 views
+3 votes
1 answer

Automate the login process of facebook login.

Hey @user, you can simply use findelements ...READ MORE

Dec 18, 2018 in Selenium by Nabarupa
14,565 views
0 votes
1 answer

Is it possible to check if a text is highlighted on the page using Selenium?

Hey Karan, you can use following code ...READ MORE

May 30, 2019 in Selenium by Avni
14,551 views