Trending questions in Selenium

+3 votes
1 answer

How to use wait in selenium java?

There are different types of wait you ...READ MORE

Dec 18, 2018 in Selenium by Nabarupa
747 views
0 votes
1 answer

Where can I find good tutorials for Learning selenium?

Here are few of the Youtube playlist ...READ MORE

Dec 20, 2018 in Selenium by Ranjan
784 views
+1 vote
1 answer

Can someone explain the meaning of WebDriver wd = new ChromeDriver();?

WebDriver webdriver = new ChromeDriver(); The following simply ...READ MORE

Dec 15, 2018 in Selenium by Aniket
967 views
+1 vote
1 answer

What is locators used for in selenium?

Locator are used to find and match ...READ MORE

Dec 18, 2018 in Selenium by Nabarupa
765 views
0 votes
1 answer

Selenium WebDriver.get(url) not working

It is a Selenium defect. Problem is ...READ MORE

Jun 7, 2018 in Selenium by Meci Matt
• 9,460 points
9,170 views
0 votes
1 answer

How to eliminate this error”Cannot instantiate the type Select in selenium webdriver”

Try below code. Select sc = new Select(driver.findElement(By.xpath("your ...READ MORE

May 18, 2018 in Selenium by Samarpit
• 5,910 points
9,983 views
0 votes
1 answer

How do i click on <input type=file> on any browser if i'm testing with Selenium Webdriver?

Does not matter which OS or which ...READ MORE

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

Handling a popup window using selenium

This is a code I use when ...READ MORE

Aug 31, 2018 in Selenium by Meci Matt
• 9,460 points
5,392 views
0 votes
1 answer

Verify that an element exist in Selenium 2 or not

If you are testing using JUnit and ...READ MORE

Aug 23, 2018 in Selenium by Meci Matt
• 9,460 points
5,715 views
0 votes
1 answer

How to use name locator in selenium?

You can simply inspect the webpage and ...READ MORE

Dec 21, 2018 in Selenium by Nabarupa
450 views
0 votes
1 answer

(Protractor) Finding specific row in ng-table by text

Try this Return the filtered elements before trying ...READ MORE

May 10, 2018 in Selenium by Samarpit
• 5,910 points
10,172 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,744 views
0 votes
1 answer

Getting current page url with selenium

If you are having issues with .get(), then ...READ MORE

Aug 9, 2018 in Selenium by Samarpit
• 5,910 points
6,147 views
0 votes
1 answer

Selenium python find_element_by_class_name() stopped working from v 2.2 to 2.21 — not able to use 'Compound Class Name'

The problem about WebDriver is that it ...READ MORE

Aug 23, 2018 in Selenium by Meci Matt
• 9,460 points
5,449 views
0 votes
1 answer

How to set Page Load Timeout using C# and Selenium Webdriver

Check this out C# WebDriver API now contains ...READ MORE

Aug 3, 2018 in Selenium by Samarpit
• 5,910 points
6,251 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,438 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,454 views
0 votes
1 answer

Handling elements inside Shadow DOM in Selenium WebDriver

You can use the driver.executeScript() method to access the ...READ MORE

Jun 11, 2018 in Selenium by Meci Matt
• 9,460 points
8,278 views
0 votes
1 answer

How to control Chrome Downloads page Using Selenium c#?

In your case you must replace 'cancel' ...READ MORE

May 7, 2018 in Selenium by Samarpit
• 5,910 points
9,756 views
0 votes
1 answer

How do we use assert() in Selenium WebDriver?

So, for implementing Assert(), you need to ...READ MORE

Apr 6, 2018 in Selenium by nsv999
• 5,500 points
11,120 views
0 votes
1 answer

Input username & password using Python in Selenium WebDriver

You can use the below code: username = ...READ MORE

May 15, 2018 in Selenium by Meci Matt
• 9,460 points
9,296 views
0 votes
1 answer

Read a dynamic value using Selenium

You can use the following line of ...READ MORE

Aug 2, 2018 in Selenium by Samarpit
• 5,910 points
5,867 views
0 votes
1 answer

Browser is Unreachable exception while trying to test with Selenium Webdriver using IEDriver

I was getting the same error and ...READ MORE

Mar 30, 2018 in Selenium by nsv999
• 5,500 points
11,198 views
0 votes
1 answer

Selenium WebDriver operates very slow

Allowing WebDriver to attach to a running browser - ...READ MORE

Aug 24, 2018 in Selenium by Meci Matt
• 9,460 points
4,786 views
+1 vote
1 answer

Angular JS: Selenium cannot click a button by python code on mac

You can try clicking it with javascript ...READ MORE

Aug 9, 2018 in Selenium by Samarpit
• 5,910 points
5,324 views
0 votes
1 answer

Protractor waiting for element to be in DOM

You should be able to use browser.wait together with ...READ MORE

Sep 17, 2018 in Selenium by Meci Matt
• 9,460 points
3,672 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
• 13,150 points
1,545 views
+1 vote
1 answer

How to perform mouse hovering in Selenium WebDriver (Java)?

You many not actually be able to ...READ MORE

Apr 3, 2018 in Selenium by nsv999
• 5,500 points

edited Aug 22, 2023 by Khan Sarfaraz 10,762 views
0 votes
1 answer

Reading data from Excel in my Selenium test

Log4j problems are usually thrown because of ...READ MORE

Apr 6, 2018 in Selenium by nsv999
• 5,500 points
10,642 views
0 votes
1 answer

How to handle Pop-up in Selenium WebDriver using Java

Actually, its pretty simple. Use this code ...READ MORE

Apr 6, 2018 in Selenium by nsv999
• 5,500 points
10,561 views
0 votes
1 answer

How to close tab in WebDriver or Protractor

Switch to the newly opened tab. Close ...READ MORE

Aug 16, 2018 in Selenium by Meci Matt
• 9,460 points
4,561 views
0 votes
1 answer

Python Selenium WebDriver drag-and-drop

I have verified that this does in ...READ MORE

Aug 23, 2018 in Selenium by Meci Matt
• 9,460 points
4,240 views
0 votes
1 answer

Using Extensions with Selenium - Python

You should use chrome web driver options to set ...READ MORE

Aug 23, 2018 in Selenium by Meci Matt
• 9,460 points
4,244 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
7,256 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,534 views
0 votes
1 answer

How to run a selenium-server-standalone?

java -jar seleniumjar.jar -Dwebdriver.chrome.driver=./chromedriver If you want to ...READ MORE

Sep 3, 2018 in Selenium by Meci Matt
• 9,460 points
3,622 views
0 votes
1 answer

How to replace remote resources with local resource in a page with Selenium?

You could change URL for that script ...READ MORE

Aug 8, 2018 in Selenium by Samarpit
• 5,910 points
4,701 views
0 votes
1 answer

Need details about Page load strategy for Chromedriver

According to WebDriver docs, when Page Loading ...READ MORE

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

How to execute JavaScript in Ruby written Webdriver test?

The equivalent Ruby would be: name = ...READ MORE

Sep 24, 2018 in Selenium by Meci Matt
• 9,460 points
2,605 views
0 votes
1 answer

Searching for the element with &nbsp; symbol in selenium

Use Below: //div[@class='Tips' and text()='\u00a0'] READ MORE

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

findElement(By.xpath()) not working using Selenium WebDriver

element = findElement(By.xpath("//*[@test-id='test-username']"); element = findElement(By.xpath("//input[@test-id='test-username']"); (*) - any ...READ MORE

Apr 18, 2018 in Selenium by code_ninja
• 6,300 points
9,315 views
0 votes
1 answer

Difference between submit() vs click() in Selenium Webdriver

The submit() function is specifically for forms ...READ MORE

May 24, 2018 in Selenium by sniffy_god
• 780 points
7,720 views
0 votes
1 answer

Error: TestNG @BeforeClass initialization code not running before Test

Below will help: @BeforeTest: The annotated method will ...READ MORE

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

Wait until page loads before click() using Selenium Webdriver

Change the following guestlogin_button = wait.until(EC.visibility_of_element_located((By.id, ".ch4_loginGuestBtn"))) to guestlogin_button = ...READ MORE

Aug 8, 2018 in Selenium by Samarpit
• 5,910 points
4,419 views
0 votes
1 answer

Using keys (Ctrl+A) in Selenium WebDriver

You can use the below code: String select ...READ MORE

May 9, 2018 in Selenium by Meci Matt
• 9,460 points
8,310 views
0 votes
1 answer

Counting the list within HTML structure using Selenium Webdriver

Try Below code: This should work driver.findElements(By.xpath(" ...READ MORE

Jul 3, 2018 in Selenium by Samarpit
• 5,910 points
5,889 views
0 votes
1 answer

Handling print dialog in Selenium WebDriver

In Selenium WebDriver we are not able ...READ MORE

May 11, 2018 in Selenium by Meci Matt
• 9,460 points
8,159 views
0 votes
1 answer

NoSuchElementException exception with headless chrome and selenium

As you are seeing NoSuchElementException you can consider using ...READ MORE

May 7, 2018 in Selenium by Samarpit
• 5,910 points
8,274 views
0 votes
1 answer

How to take Screenshots in BDD cucumber framework in selenium

Check this out QAF. This can be done by ...READ MORE

Apr 26, 2018 in Selenium by king_kenny
• 3,710 points
8,737 views
0 votes
1 answer

How to record popup windows with selenium IDE

If that pop up window has name, ...READ MORE

Sep 28, 2018 in Selenium by Meci Matt
• 9,460 points
1,785 views