Most answered questions in Selenium

+9 votes
15 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,270 points
75,117 views
0 votes
5 answers

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

You can open a new tab first. ...READ MORE

Nov 27, 2018 in Selenium by Shrikanth
17,065 views
+2 votes
4 answers

sendKeys() not working in Selenium Webdriver

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

Aug 27 in Selenium by Afif
14,589 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 in Selenium by Frankie
• 9,810 points
14,194 views
0 votes
3 answers

Refresh browser using selenium

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

Jan 7 in Selenium by Mohan
153 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 in Selenium by Matin
4,201 views
0 votes
3 answers

How to get text found between span – selenium

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

Feb 28 in Selenium by Trying to Figure
15,843 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 in Selenium by anonymous
4,299 views
+4 votes
3 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,650 points
18,932 views
0 votes
3 answers

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

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

Aug 28 in Selenium by Shraddha
11,399 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 in Selenium by Abha
• 27,180 points
300 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,110 points
3,426 views
0 votes
3 answers

Trying to upload files using Selenium(C#)

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

Aug 23 in Selenium by Abha
• 27,180 points
1,488 views
0 votes
3 answers

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

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

Feb 12 in Selenium by anonymous
12,510 views
+1 vote
2 answers

how to display all items in the list in the drop down?

Try using following code:  WebElement dropdown = ...READ MORE

Sep 30 in Selenium by Anvi
• 13,960 points
108 views
0 votes
2 answers

Stuck in this issue please help me out

NoClassDefFoundError exception : Mismatch of classpath in ...READ MORE

Sep 6 in Selenium by varun
• 140 points
115 views
0 votes
2 answers

What is Cucumber dry run?

Dry Run is nothing  but checking the ...READ MORE

Nov 8 in Selenium by Venkata
• 160 points
384 views
0 votes
2 answers

How to open a new tab in existing browser window using Javascript Executor?

Hi Meenal, you can use executeScript() method ...READ MORE

Jul 22 in Selenium by Abha
• 27,180 points
663 views
0 votes
2 answers

I am trying to run the below code but java.lang.Illegalstate Exception is coming

You are facing this error because while ...READ MORE

Jun 21 in Selenium by Abha
• 27,180 points
80 views
0 votes
2 answers

Handling untrusted SSL certificates in different browsers using Selenium?

Hi Ishita, you can handle untrusted SSL ...READ MORE

Jun 3 in Selenium by Abha
• 27,180 points
337 views
0 votes
2 answers

What are the benefits of using TestNG with Selenium?

Hi Falguni, some of the benefits of ...READ MORE

May 31 in Selenium by Anvi
• 13,960 points
134 views
0 votes
2 answers

What are the type of Parameterization in TestNG?

A Data Provider is a method on your class ...READ MORE

May 28 in Selenium by Frankie
• 9,810 points
54 views
+1 vote
2 answers

How to click button selenium python?

Have you tried using implicit_wait method before getting ...READ MORE

May 27 in Selenium by Abha
• 27,180 points
2,396 views
0 votes
2 answers

Is it possible to find broken links on a webpage using Selenium Webdriver?

Yes it is possible to find broken ...READ MORE

Jul 25 in Selenium by anonymous
210 views
0 votes
2 answers

What are Broken Links and why they needs to be checked?

@Umang, Broken link or dead link is a link on a web ...READ MORE

Aug 1 in Selenium by Abha
• 27,180 points
41 views
0 votes
2 answers

What is PhantomJS and what is the usage of it?

@Ojaswini, Phantomjs is used for automating webpage ...READ MORE

Aug 1 in Selenium by Abha
• 27,180 points
158 views
0 votes
2 answers

What is a headless browser in automation testing and what are it's benefits?

Hi Sanaya, a headless browser is a web browser ...READ MORE

Aug 1 in Selenium by Abha
• 27,180 points
210 views
0 votes
2 answers

Can anyone explain the process of database testing from Selenium Webdriver using JDBC?

Why would you be testing the database ...READ MORE

May 16 in Selenium by Veretax
89 views
0 votes
2 answers

Why do you use cucumber with selenium?

@Neha, we can use Cucumber framework to ...READ MORE

Aug 1 in Selenium by Abha
• 27,180 points
50 views
0 votes
2 answers

What are the tools of Selenium Suite?

Selenium Grid , selenium IDE selenium RC ...READ MORE

Jun 4 in Selenium by Shweta Pandey
139 views
0 votes
2 answers

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

As the IT Industry is evolving the ...READ MORE

May 16 in Selenium by akhila priya
236 views
+1 vote
2 answers

How can I delete an element in Selenium using Python?

You can directly delete the node using ...READ MORE

Sep 14 in Selenium by tonystark
• 500 points
1,606 views
0 votes
2 answers

What is the output of Usability Testing?

Usability testing = navigation + context testing. The ...READ MORE

Feb 14 in Selenium by Shashank
• 1,350 points
42 views
0 votes
2 answers

What are the limitations of Selenium?

Hi Moray, limitations of selenium webdriver are ...READ MORE

Jun 10 in Selenium by Abha
• 27,180 points
891 views
0 votes
2 answers

Error:ElementNotVisibleException in selenium

The xpath that you are using is ...READ MORE

Feb 8 in Selenium by Disha
173 views
0 votes
2 answers

How to Change gmail login page settings

Hey @Suganth, from August 2018, google has ...READ MORE

Feb 6 in Selenium by Priyaj
• 56,960 points
223 views
0 votes
2 answers

System.setProperty is not recogonized in Eclipse.

Try adding the selenium jar files to ...READ MORE

Feb 4 in Selenium by Shashank
• 1,350 points
421 views
0 votes
2 answers

How to handle dropdowns in selenium?

Hey @Rishab, you can take a look ...READ MORE

Jan 23 in Selenium by Priyaj
• 56,960 points
55 views
0 votes
2 answers

How to use XPath Helper Tool?

How to Install XPath Helper Plugin for ...READ MORE

Apr 27 in Selenium by Ajay
667 views
0 votes
2 answers

Handling Combo-Box Drop downs in Selenium

Suggestion: Try to mimic the action with ...READ MORE

May 28 in Selenium by mary
1,915 views
0 votes
2 answers

How to open a link in a new tab?

try this :- driver.findElement(By.linkText("Business")).sendKeys(Ke ...READ MORE

Jan 10 in Selenium by kaloo
227 views
0 votes
2 answers

Is there a way to handle exceptions in testNG?

I don't think this should be a ...READ MORE

Jan 4 in Selenium by Vardhan
• 12,820 points
352 views
0 votes
2 answers

What is the difference between / and // in xpath?

/ - Selects from the root node // ...READ MORE

May 29 in Selenium by anonymous
1,415 views
0 votes
2 answers

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

The above article on "How can I ...READ MORE

May 20 in Selenium by Zuan Education
1,661 views
0 votes
2 answers

How to scroll down a webpage in selenium using Java?

This works... JavascriptExecutor jse = (JavascriptExecutor)driver; j ...READ MORE

Apr 3 in Selenium by anonymous
7,064 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
• 12,820 points
753 views
+2 votes
2 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
• 56,960 points
79 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
• 68,180 points
147 views
+4 votes
2 answers

gmail using selenium driver in eclipse

@letslearn, it seems like you have tried ...READ MORE

Sep 11, 2018 in Selenium by Vardhan
• 12,820 points
164 views
0 votes
2 answers

Tried doing automation of drop down with click or type into & select item.

Hello @Bharti, I was using the same ...READ MORE

Dec 20, 2018 in Selenium by Priyaj
• 56,960 points
39 views