Most answered questions in Selenium

+10 votes
17 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
193,879 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 14, 2020 in Selenium by Gitika
• 65,910 points
101,458 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
74,808 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
94,990 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 13, 2019 in Selenium by anonymous
94,606 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 16, 2020 in Selenium by Roshni
• 10,520 points
43,940 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,910 points
49,347 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 21, 2018 in Selenium by king_kenny
• 3,710 points
82,163 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,190 points
69,262 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 4,971 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
76,032 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 25, 2019 in Selenium by Abha
• 28,140 points
38,143 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 13, 2019 in Selenium by Douglas
72,592 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
24,252 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

edited Aug 4, 2023 by Khan Sarfaraz 89,639 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 21, 2019 in Selenium by Robin
63,307 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
29,409 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
8,964 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 7, 2020 in Selenium by Suhana

edited Jul 7, 2020 6,417 views
+1 vote
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,230 points
58,188 views
0 votes
3 answers

How do I resolve the ElementNotInteractableException in Selenium WebDriver?

Hi Abish, ElementNotInteractableException occurs when an element is ...READ MORE

Aug 21, 2019 in Selenium by Abha
• 28,140 points

edited Aug 4, 2023 by Khan Sarfaraz 102,452 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 14, 2020 in Selenium by Roshni
• 10,520 points
89,793 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 16, 2020 in Selenium by Roshni
• 10,520 points
50,638 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,520 points
81,577 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
• 210 points

edited Aug 20, 2020 by Gitika 1,093 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,525 views
0 votes
3 answers

Refresh browser using selenium

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

Jan 8, 2019 in Selenium by Mohan
936 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,910 points
37,331 views
0 votes
3 answers

What is the difference between relative and absolute XPath?

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

Dec 20, 2018 in Selenium by Nabarupa
65,426 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,090 points
1,111 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 17, 2019 in Selenium by Tim Muir
9,226 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,643 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

Mar 1, 2020 in Selenium by anuj
28,626 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
19,377 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 31, 2020 in Selenium by Sri
• 3,190 points
28,351 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
67,920 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,140 points
4,274 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 24, 2020 in Selenium by Blazzzinglight
11,453 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,494 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,167 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 2, 2020 in Selenium by Sri
• 3,190 points
3,547 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,910 points
21,603 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,880 points
1,437 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,910 points
1,107 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,520 points
552 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
1,356 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
2,227 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,230 points
813 views
0 votes
2 answers

selenium xpath and id

id mean direct interacting with element like ...READ MORE

Sep 3, 2020 in Selenium by Sri
• 3,190 points
1,265 views