Most viewed questions in Selenium

0 votes
1 answer

'The connection has timed out Error using Selenium Webdriver

Try to use implicit waits to ensure ...READ MORE

Apr 17, 2018 in Selenium by niki
7,256 views
0 votes
1 answer

driver.navigate().to("URL") in selenium

driver.get() and driver.navigate().to() are both same just ...READ MORE

Jan 22, 2019 in Selenium by Nisa
7,254 views
0 votes
1 answer

How to wait till the text is present In text field

Use Waits in Selenium WebDriver to wait ...READ MORE

Jul 5, 2018 in Selenium by Meci Matt
• 9,460 points
7,249 views
0 votes
1 answer

Selenium IDE (2.9.1.1-signed) not working with latest Version of Firefox

Unfortunately, Selenium IDE will be deprecated soon. ...READ MORE

Mar 30, 2018 in Selenium by nsv999
• 5,500 points

edited Apr 4, 2018 by nsv999 7,208 views
0 votes
1 answer

Selenium wait for Ajax content to load

you need to wait for Javascript and ...READ MORE

Jul 31, 2018 in Selenium by Meci Matt
• 9,460 points
7,191 views
+1 vote
1 answer

How to use xpath to get a specific text from a website?

The task is to get the text ...READ MORE

Dec 19, 2018 in Selenium by Nabarupa
7,126 views
0 votes
1 answer

In Selenium why does Firefox requires GeckoDriver?

Firefox requires GeckoDriver because: For Mozilla Firefox till ...READ MORE

May 8, 2018 in Selenium by Meci Matt
• 9,460 points
7,096 views
0 votes
0 answers

Only local connections are allowed error message for chrome driver

package sample; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; import java.util.concurrent.TimeUnit; import org.openqa.selenium.By; import org.openqa.selenium.WebElement; import ...READ MORE

Apr 29, 2019 in Selenium by Pratikhya
• 120 points
7,083 views
0 votes
1 answer

How to click on a hyperlink using Selenium WebDriver?

Hi Jonathan, you can use click() method in ...READ MORE

May 29, 2019 in Selenium by Abha
• 28,140 points
7,045 views
0 votes
1 answer

How to use firefox webdriver (geckodriver) in selenium?

Firefox v47+ with selenium 2.53, you need ...READ MORE

Jan 8, 2019 in Selenium by Nabarupa
7,044 views
0 votes
1 answer

How to pause for few seconds in Selenium?

you can locate an element that loads ...READ MORE

Jul 6, 2018 in Selenium by Meci Matt
• 9,460 points
7,037 views
0 votes
1 answer

Selenium Exception: Element is not visible

Finding the element before locating the one ...READ MORE

May 7, 2018 in Selenium by king_kenny
• 3,710 points
7,029 views
0 votes
1 answer

How to disable cookies using webdriver for Chrome and FireFox JAVA?

The solution for Firefox is below: FirefoxProfile profile ...READ MORE

Aug 8, 2018 in Selenium by Meci Matt
• 9,460 points
7,019 views
0 votes
1 answer

Is it possbile to perform page scroll up/down using Robot class in Selenium?

Hey Ashwin, yes it is possible to ...READ MORE

Jul 5, 2019 in Selenium by Anvi
• 14,150 points
6,978 views
+1 vote
1 answer

how to automate google Signup form in selenium using python

Try the following code:  from selenium.webdriver import Chrome, ...READ MORE

Mar 23, 2020 in Selenium by Sirajul
• 59,230 points
6,966 views
0 votes
1 answer

“NoSuchElementException” using Selenium Webdriver

When you obtain the xpath from object repository ensure ...READ MORE

Jul 27, 2018 in Selenium by Samarpit
• 5,910 points
6,961 views
0 votes
1 answer
0 votes
1 answer

selenium.waitForPageToLoad(“30000”) method in Selenium WebDriver

You can use two approaches using Selenium ...READ MORE

Apr 9, 2018 in Selenium by Vardy
• 2,360 points
6,919 views
0 votes
1 answer

How to click a span with given text using Selenium Python

If ALL_USA is subject to change, then ...READ MORE

Jul 26, 2018 in Selenium by Samarpit
• 5,910 points
6,916 views
0 votes
1 answer

XPath for the elements with no ID or Name in Selenium Webdriver

Use like this or similar to this: //div[@id="top-level-menu-item-3"]/div[@class="filter-label"] //div[@id="top-level-menu1"] ...READ MORE

Apr 17, 2018 in Selenium by Meci Matt
• 9,460 points
6,893 views
0 votes
1 answer

Is it possible to stop page loading on browser with Selenium Webdriver?

Hello Kasim, yes it is possible to ...READ MORE

Jun 21, 2019 in Selenium by Anvi
• 14,150 points
6,877 views
0 votes
1 answer

How can I pause a text execution in python selenium webdriver?

Hello Ankur, you can use sleep() method ...READ MORE

Jul 31, 2019 in Selenium by Renuka
6,845 views
0 votes
1 answer

Sending keys to credit card fields (fields are from stripe) using selenium

Below code will help you: String cnum = ...READ MORE

Jun 12, 2018 in Selenium by Samarpit
• 5,910 points
6,782 views
0 votes
1 answer

Is it possible to run headless browser using Python-Selenium?

Hi Fatima, you can run headless browser ...READ MORE

May 27, 2019 in Selenium by Anvi
• 14,150 points
6,778 views
0 votes
1 answer

Open Gmail inbox and get the unread mails count using Selenium Webdriver

Hi Naitik, you can follow this piece ...READ MORE

May 21, 2019 in Selenium by Abha
• 28,140 points
6,760 views
0 votes
1 answer

Error: NoSuchElementException in Selenium

The problem that I can think of ...READ MORE

Feb 8, 2019 in Selenium by Esha
6,721 views
0 votes
1 answer

Geo-location microphone camera pop up

To Allow or Block the notification, access using Selenium and you have to ...READ MORE

May 11, 2018 in Selenium by Samarpit
• 5,910 points
6,699 views
0 votes
1 answer

How can I use Selenium in the background?

Hey there! I would suggest you try using a ...READ MORE

Jul 22, 2019 in Selenium by anonymous
6,662 views
0 votes
1 answer

How to open Firefox window in Incognito mode using Selenium Webdriver?

Hi Pritha, you can use this code ...READ MORE

May 14, 2019 in Selenium by Anvi
• 14,150 points
6,609 views
0 votes
2 answers

System.setProperty is not recogonized in Eclipse.

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

Feb 5, 2019 in Selenium by Shashank
• 1,370 points
6,609 views
0 votes
1 answer

How to find size of an element in a webpage with Python Selenium Webdriver?

Hey Fawad, you can use this piece ...READ MORE

Jul 29, 2019 in Selenium by Anvi
• 14,150 points
6,591 views
0 votes
1 answer

What are the advantages of TestNG over JUnit framework?

Hey Kimberly, TestNG has many advantages over ...READ MORE

Jun 12, 2019 in Selenium by Abha
• 28,140 points
6,526 views
+1 vote
1 answer

How to automate instagram login page using java in selenium?

Try the following: package com.company; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.chrome.ChromeDriver; import ...READ MORE

Sep 15, 2020 in Selenium by Karan
• 19,610 points
6,524 views
0 votes
1 answer

What all test methods are provided by Assert class in JUnit?

Hello Apeksha, JUnit provides static methods in the ...READ MORE

Oct 17, 2019 in Selenium by Abha
• 28,140 points
6,499 views
+1 vote
1 answer

Is it possible to write data into an excel file using Selenium Webdriver?

Hi Simran, if you want to directly ...READ MORE

May 8, 2019 in Selenium by Abha
• 28,140 points
6,497 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,481 views
0 votes
1 answer

What is @CacheLookup annotation in PageFactory?

Hey Abhay, PageFactory annotation @CacheLookup is used to ...READ MORE

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

Need to know the differences between .// and //* in XPath?

The expressions your talking about, select different ...READ MORE

Apr 29, 2018 in Selenium by king_kenny
• 3,710 points
6,408 views
0 votes
1 answer

What is Validation in Selenium?

Validation in selenium means checking wether all ...READ MORE

Dec 24, 2018 in Selenium by Nabarupa
6,399 views
0 votes
1 answer

When i give WebDriver driver=new ChromeDriver();

If you use ChromeDriver driver = new ChromeDriver(); the ChromeDriver instance ...READ MORE

Oct 23, 2020 in Selenium by Karan
• 19,610 points
6,348 views
0 votes
1 answer

Compound class names not permitted

Instead of using Class name you can ...READ MORE

Jan 11, 2019 in Selenium by Fujistu
6,330 views
0 votes
1 answer

Saving data to the same xls file with Robot Framework ExcelLibrary

The documentation of the library states that, ...READ MORE

Mar 27, 2018 in Selenium by nsv999
• 5,500 points
6,305 views
0 votes
1 answer

Current URL of the already opened browser using selenium

Use Something like this: //get all the windows ...READ MORE

Jul 25, 2018 in Selenium by Samarpit
• 5,910 points
6,240 views
0 votes
1 answer

How can I clear the text in a text box using Selenium WebDriver?

Hello Akriti, you can clear the text ...READ MORE

May 29, 2019 in Selenium by Anvi
• 14,150 points
6,235 views
0 votes
1 answer

I need to release the memeory allocated to Selenium chromedriver.exe while for tests

The usage of the commands is incorrect. driver.close() ...READ MORE

May 21, 2018 in Selenium by sniffy_god
• 780 points
6,229 views
0 votes
1 answer

Using IF / ELSE in selenium IDE

You'll have to download the Flow Control plugin for ...READ MORE

Jun 28, 2018 in Selenium by Meci Matt
• 9,460 points
6,219 views
0 votes
1 answer

How to mouse hover on a web element using Selenium WebDriver?

Hello Nitin, to automate mouse hovering over ...READ MORE

May 7, 2019 in Selenium by Anvi
• 14,150 points
6,202 views
0 votes
1 answer

What are the types of Selenium commands?

Hi Shekhar, Selenium commands are basically classified in ...READ MORE

May 14, 2019 in Selenium by Anvi
• 14,150 points
6,191 views