Trending questions in Selenium

0 votes
1 answer

How to loop through a menu list on a webpage using Selenium?

Hi Tarun, you can use following code ...READ MORE

Aug 22, 2019 in Selenium by Anvi
• 14,150 points
12,137 views
0 votes
1 answer

How can I get Webdriver Session ID in Selenium?

Hey Nargis, you can use following methods ...READ MORE

Jun 21, 2019 in Selenium by Abha
• 28,140 points
14,758 views
0 votes
1 answer

How to launch Edge browser with Selenium Webdriver?

Hey Tamanna, you can use following lines ...READ MORE

Jul 15, 2019 in Selenium by Anvi
• 14,150 points
13,680 views
0 votes
2 answers

How can we use JavaScript Executor to click and enter data to a web element in Selenium?

WebElement element = driver.findElement(By.id("abcd")); // Let the ...READ MORE

Mar 22, 2020 in Selenium by Lakshmi Sarvepalli
4,814 views
0 votes
1 answer

Exception in thread "main" java.lang.IllegalStateException

Your query is similar to the following ...READ MORE

Mar 17, 2020 in Selenium by Sirajul
• 59,190 points
4,277 views
0 votes
2 answers

What is following-sibling in selenium?

Xpath=//*[@type='text']//following::input[2] READ MORE

Sep 4, 2020 in Selenium by Sri
• 3,190 points
13,309 views
0 votes
1 answer

click on Sign In by using css selector

You could try using the value of class attribute: //span ...READ MORE

Apr 20, 2020 in Selenium by Kim
1,447 views
0 votes
1 answer

How to locate web elements in Selenium-Python?

@Urvashi in Python, Selenium Webdriver API supports ...READ MORE

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

How can I select date from a datepicker div using Selenium Webdriver?

Hey Jeevika, you can use following automation ...READ MORE

Jul 15, 2019 in Selenium by Abha
• 28,140 points
13,499 views
0 votes
0 answers

org.openqa.selenium.ElementClickInterceptedException:

getting thei error: Exception in thread "main" org.openqa.selenium.ElementClickInterceptedException: ...READ MORE

Nov 11, 2019 in Selenium by Sridevi
• 120 points
8,396 views
0 votes
1 answer

How to measure page load time of a website using Selenium-Python?

Hello Damodar, following test script allows you ...READ MORE

Jul 22, 2019 in Selenium by Anvi
• 14,150 points
13,152 views
0 votes
1 answer

I need scroll page in middle using action class or javascript

Try the following: WebElement element = driver.findElement(By.xxx("xxxx")); String scrollElementIntoMiddle ...READ MORE

Mar 30, 2020 in Selenium by Liana
2,236 views
0 votes
1 answer

ERROR:cache_util_win.cc(21)] Unable to move the cache: Access is denied. (0x5)

@rrgeereddy, can you show how you are ...READ MORE

Aug 19, 2019 in Selenium by Abha
• 28,140 points
11,905 views
0 votes
1 answer

Gmail login through third party

This issue probably occurs when multiple Gmail ...READ MORE

Mar 12, 2020 in Selenium by Sirajul
• 59,190 points
3,028 views
0 votes
1 answer

How to get details of a webpage like url, title name, domain name etc using Javascript Executor?

Hey Nitya, you can use executeScript() method ...READ MORE

Jul 23, 2019 in Selenium by Abha
• 28,140 points
13,047 views
0 votes
1 answer

Can we use Selenium to work with an already open browser session?

Yup its possible. Instead of a new ...READ MORE

Apr 24, 2018 in Selenium by king_kenny
• 3,710 points
32,682 views
0 votes
1 answer

Unable to find Firebug and Firepath plugins in Firefox broswer?

@Lakshmi, you can't find these plugins of ...READ MORE

May 29, 2019 in Selenium by Tharun
15,292 views
0 votes
2 answers

Need Selenium to wait until the document is ready.

use  (JavascriptExecutor) driver).executeScript("return docum ...READ MORE

Sep 4, 2020 in Selenium by Sri
• 3,190 points
13,898 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, 2019 in Selenium by Abha
• 28,140 points

edited Oct 7, 2021 by Sarfaraz 12,782 views
+1 vote
1 answer

What are the different attributes for @Test annotation in testNG?

Hey @Iqbal, some of the most common ...READ MORE

Jun 25, 2019 in Selenium by Gulshan
13,840 views
0 votes
0 answers

Struck to do an application on amazon price tracking

Sir I want to do an application ...READ MORE

Apr 7, 2020 in Selenium by Likhitha
• 120 points
1,477 views
0 votes
0 answers

I am getting no such alert exception in selenium when i tried to run the script

I am getting error after executing the ...READ MORE

Feb 4, 2020 in Selenium by puneeth
• 120 points
4,221 views
+1 vote
2 answers

What is the difference between findElement and findElements in Selenium Webdriver?

FindElement Command -This method locates for the ...READ MORE

Feb 11, 2020 in Selenium by anonymous
9,764 views
0 votes
1 answer

How do I get current URL in Selenium Webdriver using Python?

Use current_url element. Example: print browser.current_url READ MORE

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

How to select multiple options from a dropdown list using Actions class in Selenium?

Hey Renu, you can use Actions class ...READ MORE

Jul 8, 2019 in Selenium by Abha
• 28,140 points
13,105 views
0 votes
1 answer

Downloading and Saving a file to a desired location using Selenium Webdriver

You can set the default download location ...READ MORE

Apr 13, 2018 in Selenium by Meci Matt
• 9,460 points
32,536 views
0 votes
1 answer

How to Select date from a datepicker with Selenium Webdriver using Python?

Hi Yashim, you can select date from ...READ MORE

Jul 31, 2019 in Selenium by Abha
• 28,140 points

edited Oct 7, 2021 by Sarfaraz 12,014 views
0 votes
2 answers

C# and Selenium: Wait Until Element is Present

WebDriverWait wait = new WebDriverWait(driver, new TimeSpan(0,0,5)) ...READ MORE

Sep 4, 2020 in Selenium by Sri
• 3,190 points
13,363 views
0 votes
0 answers

I am unable to find module in python test file configuration

i am working on POM in selenium ...READ MORE

Mar 20, 2020 in Selenium by umair
• 150 points
1,950 views
0 votes
1 answer

How to switch back from a frame to default in Selenium Webdriver?

Hey Rupesh, to switch back from a ...READ MORE

Jun 25, 2019 in Selenium by Anvi
• 14,150 points
13,450 views
0 votes
1 answer

What are the drawbacks of using thread.sleep() command in Selenium Webdriver?

Hey Eric, some of the drawbacks of ...READ MORE

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

How to set desired capabilities in Python Selenium Webdriver?

Hello Himani, you can try something like ...READ MORE

Aug 1, 2019 in Selenium by Abha
• 28,140 points
11,781 views
0 votes
2 answers

How to test React JS dropdown with Selenium and java?

First of all you need to click ...READ MORE

Aug 20, 2019 in Selenium by ghoshPooja
• 140 points
20,850 views
0 votes
1 answer

unable to select drop down

Your query may be similar to these, ...READ MORE

Mar 17, 2020 in Selenium by Sirajul
• 59,190 points
1,709 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
8,246 views
+2 votes
1 answer

Reading the excel and running multiple URL's in the browser and updating the excel if issue found for those URL's

Try the following steps: use excel application scope and pass ...READ MORE

Jan 21, 2020 in Selenium by Karan
• 19,550 points
4,003 views
+2 votes
1 answer

What is asynchronous script? Why selenium use setScriptTimeout() command and how it help us?

Asynchronous scripts are used for rendering the ...READ MORE

Feb 3, 2020 in Selenium by Sirajul
• 59,190 points
3,457 views
0 votes
2 answers
0 votes
1 answer

What is IWebElement and how it is used in Selenium C#?

Hello Paul, IWebElement is an Interface in ...READ MORE

Jun 11, 2019 in Selenium by Esha
13,737 views
0 votes
1 answer

Chrome selenium driver - how to detach / leave the browser open after the get test is completed?

Hey Stephan, I had the similar issue ...READ MORE

Nov 4, 2019 in Selenium by Abha
• 28,140 points
7,608 views
0 votes
1 answer

How to get the TagName of a particular WebElement using Selenium Webdriver?

Hey Paula, to get the tagname of ...READ MORE

Jul 4, 2019 in Selenium by Abha
• 28,140 points
12,731 views
0 votes
1 answer

How to auto-refresh the ChromeDriver using Selenium Webdriver?

You can use this command. Also, refresh ...READ MORE

May 10, 2019 in Selenium by Vaishnavi
• 1,180 points

edited May 10, 2019 by Omkar 15,082 views
+1 vote
1 answer

How to access emails in gmail and opening the latest one from unread mails using Selenium Webdriver?

Hey Pratyush, to access emails from your ...READ MORE

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

How to switch between tabs on a browser and get titles of each tab using Selenium?

Hi Abhimanyu, you can use following code ...READ MORE

Jul 22, 2019 in Selenium by Abha
• 28,140 points
11,705 views
0 votes
1 answer

What is JUnit and what are the features of it?

Hey Irfaan, JUnit is an open source ...READ MORE

Jun 12, 2019 in Selenium by Anvi
• 14,150 points
13,445 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
19,120 views
0 votes
1 answer

What is a Modular Framework and why it is useful in Selenium webdriver?

Hi Junaid, as the name suggests, Modular ...READ MORE

May 13, 2019 in Selenium by Abha
• 28,140 points
14,683 views
0 votes
1 answer

How to check if an image is displayed on web page while working with Selenium WebDriver?

I've come across a similar situation before, where the image ...READ MORE

May 10, 2019 in Selenium by Surya
• 970 points
14,744 views
+1 vote
2 answers

I want the screenshot of only a specific element and not the entire page. Is it possible with Selenium Webdriver?

Hey @kappa3010, you can try this. Though ...READ MORE

Dec 31, 2018 in Selenium by Priyaj
• 58,020 points
25,562 views
0 votes
1 answer

How to use keyboard shortcuts in selenium?

Yes, you can use all the keyboard ...READ MORE

Dec 25, 2018 in Selenium by Shuvodip
20,568 views