Most viewed questions in Selenium

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,247 views
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,246 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,238 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,199 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,183 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,108 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,092 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,076 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,041 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,031 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,030 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,027 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,012 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,956 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,954 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,953 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,911 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,908 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,882 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,871 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,835 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,773 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,765 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,741 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,712 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,685 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,648 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,595 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,583 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,582 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,513 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,510 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,492 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,490 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,464 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,406 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,395 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,392 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,334 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,311 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,292 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,236 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,219 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,218 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,210 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,198 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,177 views