Most answered questions in Selenium

+11 votes
16 answers

How to automate gmail login process using selenium webdriver in java?

Check the below code: Here is the working ...READ MORE

Apr 24, 2018 in Selenium by Vardy
• 2,360 points
138,645 views
0 votes
8 answers

How to open a link in new tab of chrome browser using Selenium WebDriver?

This below code works for me in ...READ MORE

Dec 13, 2020 in Selenium by Gitika
• 65,870 points
67,646 views
0 votes
6 answers

How to get text found between span – selenium

The text "Search Zone" is not part ...READ MORE

Feb 28, 2019 in Selenium by Trying to Figure
49,222 views
+3 votes
6 answers

Verifying whether an element present or visible in selenium Webdriver

Below code will help you: To check Element ...READ MORE

Apr 17, 2018 in Selenium by king_kenny
• 3,710 points
54,627 views
0 votes
6 answers

How to specify "ENTER" button functionality in Selenium WebDriver code?

using OpenQA.Selenium.Interactions; Actions builder = new Actions(driver); ...READ MORE

Feb 12, 2019 in Selenium by anonymous
61,564 views
0 votes
5 answers

How to scroll down a webpage in selenium using Java?

 to scroll up or down with Selenium, a JavaScript executor is a ...READ MORE

Dec 15, 2020 in Selenium by Roshni
• 10,440 points
33,471 views
0 votes
5 answers

Moving mouse pointer to a specific location or element using C# and Selenium

n order to perform a 'mouse hover' ...READ MORE

Dec 16, 2020 in Selenium by Gitika
• 65,870 points
28,401 views
+1 vote
5 answers

Getting this error: “Element is not clickable at point”

There are 3 possible solutions for this: 1. ...READ MORE

Apr 20, 2018 in Selenium by king_kenny
• 3,710 points
67,641 views
0 votes
5 answers

How to use JavaScript in selenium to click an Element?

WebElement element = driver.findElement(By.id("id")); JavascriptExe ...READ MORE

Aug 31, 2020 in Selenium by Sri
• 3,010 points
42,020 views
0 votes
4 answers

How to close login pop up message in Selenium Webdriver?

did you find solution for this? READ MORE

Nov 4, 2020 in Selenium by anonymous

reshown Nov 4, 2020 by Sirajul 1,089 views
0 votes
4 answers

How to setup Chrome driver with Selenium on MacOS?

Hi Nushrat, In MacOs follow the steps and ...READ MORE

Aug 9, 2020 in Selenium by Shipra
23,985 views
+1 vote
4 answers

How to get typed text from a textbox by using Selenium Webdriver?

Hey Ashmita, to get the typed text ...READ MORE

Jun 24, 2019 in Selenium by Abha
• 28,040 points
18,684 views
0 votes
4 answers

Selenium Exception error -Element is not clickable at point (x, y). Other element would receive the click

If waitings for element, sleeps and oher ...READ MORE

Dec 12, 2019 in Selenium by Douglas
58,233 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
11,630 views
+1 vote
4 answers

Error: selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH

You can also handle this error with ...READ MORE

Nov 27, 2018 in Selenium by Srujan
59,650 views
+1 vote
4 answers

Need to wait until page is completely loaded - Selenium WebDriver

You can try something like -  new WebDriverWait(firefoxDriver, ...READ MORE

Dec 20, 2019 in Selenium by Robin
40,009 views
+2 votes
4 answers

sendKeys() not working in Selenium Webdriver

this work for me you should update your ...READ MORE

Aug 27, 2019 in Selenium by Afif
25,065 views
0 votes
3 answers

Chropath gets disappeared even after pinning in the browser

@Faha Try writing manually.. why depending on such ...READ MORE

Dec 4, 2020 in Selenium by Nikita
180 views
0 votes
3 answers

How to stop a page loading from selenium in chrome?

Hi Savan, Setting the pageLoadStrategy capability to none. Then wait for ...READ MORE

Jul 6, 2020 in Selenium by Suhana

edited Jul 6, 2020 1,888 views
+2 votes
3 answers

Error occurred during initialization of boot layer java.lang.module.FindException: Module Selenium not found

This might probably be coz while creating ...READ MORE

Nov 27, 2019 in Selenium by Sirajul
• 59,050 points
28,051 views
0 votes
3 answers

How do I resolve the ElementNotInteractableException in Selenium WebDriver?

ElementNotInteractableException ElementNotInteractableException is the W3C exception which is ...READ MORE

Dec 13, 2020 in Selenium by Gitika
• 65,870 points
45,659 views
+2 votes
3 answers
0 votes
3 answers

How to close active/current tab without closing the browser in Selenium-Python?

While doing stuff with selenium multiple browsers ...READ MORE

Dec 13, 2020 in Selenium by Roshni
• 10,440 points
39,532 views
0 votes
3 answers

What are the different ways to select an option from a dropdown using Selenium Webdriver?

So follow this steps for solution: First click ...READ MORE

Dec 15, 2020 in Selenium by Roshni
• 10,440 points
18,948 views
0 votes
3 answers

How to print text from a list of all web elements with same class name in Selenium?

Try using List <WebElement> to access all similar elements ...READ MORE

Dec 16, 2020 in Selenium by Roshni
• 10,440 points
31,713 views
0 votes
3 answers

What are the benefits of using Selenium as an Automation Testing tool?

There is no rule we have to ...READ MORE

Aug 26, 2020 in Selenium by Sri
• 3,010 points
812 views
0 votes
3 answers

Tools that can perform regression testing and functional testing?

Hello, I hope this info is useful to ...READ MORE

Aug 20, 2020 in Selenium by anonymous
• 200 points

edited Aug 20, 2020 by Gitika 193 views
+1 vote
3 answers

What is the command used to register gecko driver?

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

Jan 9, 2019 in Selenium by Frankie
• 9,810 points
16,685 views
0 votes
3 answers

Refresh browser using selenium

Try navigate().to(driver.getCurrentUrl()). Works like charm. READ MORE

Jan 7, 2019 in Selenium by Mohan
398 views
0 votes
3 answers

How to install TestNG in eclipse?

Installing TestNG in Eclipse Step 1) Launch Eclipse. On the ...READ MORE

Dec 11, 2020 in Selenium by Gitika
• 65,870 points
19,717 views
0 votes
3 answers

What is the difference between relative and absolute XPath?

Absolute Xpath: It contains the complete path ...READ MORE

Dec 19, 2018 in Selenium by Nabarupa
28,560 views
+2 votes
3 answers

What are the different Locators that can be used to access Web Elements?

@Nitesh, I would like to tell you ...READ MORE

Dec 12, 2018 in Selenium by Priyaj
• 58,120 points
233 views
0 votes
3 answers

How to set Page Load Timeout using C# using Selenium WebDriver

driver.Manage().Timeouts().PageLoad = TimeSpan.FromSeconds(15); READ MORE

Apr 16, 2019 in Selenium by Tim Muir
5,989 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
11,986 views
0 votes
3 answers

Click Allow on Show Notifications popup using Selenium Webdriver

Try this: Robot robot = new Robot(); robot.delay(5000); robot.keyPress(KeyEvent.VK_TAB); robot.keyPress(KeyEvent.VK_ENTER); hope this ...READ MORE

Feb 29, 2020 in Selenium by anuj
20,074 views
0 votes
3 answers

java.lang.IllegalStateException Error after adding set property webdriver

/* System.setProperty("WebDriver.gecko.driver", "C:\\Users\\DELL\\Desktop\\GeckoDriver1\\geckodriver.exe"); WebDriver driver = new FirefoxDriver(); */ ...READ MORE

May 1, 2019 in Selenium by anonymous
12,877 views
+2 votes
3 answers

How can we handle authentication popup in Selenium WebDriver using Java

1) By passing user credentials in URL. String ...READ MORE

Aug 30, 2020 in Selenium by Sri
• 3,010 points
21,775 views
+2 votes
3 answers

Selenium Webdriver + Java - Eclipse: java.lang.NoClassDefFoundError

I also faced this issue first time, ...READ MORE

Aug 28, 2019 in Selenium by Shraddha
26,709 views
0 votes
3 answers

Scripting Languages used with Selenium tool for Automation Testing

The biggest advantage of Selenium is that ...READ MORE

Aug 28, 2019 in Selenium by Abha
• 28,040 points
1,816 views
0 votes
3 answers

Clicking on an element in robot framework is not working in IE, but its working fine in Chrome & Firefox

public class SiblingAndParentInXpath { ...READ MORE

Apr 23, 2020 in Selenium by Blazzzinglight
6,533 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,520 points
8,593 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,040 points
4,049 views
0 votes
3 answers

Can we run selenium tests (Firefox) on WebDriver without a GUI?

Hi ,  Yes, you can use headless browsers ...READ MORE

Sep 1, 2020 in Selenium by Sri
• 3,010 points
2,116 views
0 votes
2 answers

" Can't connect to any repository" While pushing to github.

Hey, @Boopathy, Go to Window -> Preferences -> Team ...READ MORE

Dec 24, 2020 in Selenium by Gitika
• 65,870 points
549 views
0 votes
2 answers

How to work with blocks in Selenium?

Hello @Beks, You can simply use the jQuery each() method ...READ MORE

Nov 25, 2020 in Selenium by Niroj
• 82,720 points
153 views
0 votes
2 answers

How to Validate the real time application for which the input will be refreshed for every 4 s in the UI screen?

Hi, @Savitha, It can be achieved, just ask ...READ MORE

Nov 20, 2020 in Selenium by anonymous
• 65,870 points
112 views
+1 vote
2 answers

How do I make selenium check gmails quota storage and then execute another task in a new tab depending on the value?

Hi, Xpath.gettext try this if this doesn't work ...READ MORE

Oct 20, 2020 in Selenium by Roshni
• 10,440 points
182 views
+1 vote
2 answers

how to automate date picker

Try the following: 1) Assumption is that you ...READ MORE

Sep 18, 2020 in Selenium by Karan
• 19,610 points
174 views
+1 vote
2 answers

How to click on sing up button using java in selenium i am able to open page but not able to click

For a software testing services company while ...READ MORE

Sep 17, 2020 in Selenium by Vishal
267 views
0 votes
2 answers

headless browser vs real browser

I would say prefer Headless browser over ...READ MORE

Aug 31, 2020 in Selenium by Sirajul
• 59,050 points
188 views