Trending questions in Selenium

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,913 views
0 votes
0 answers
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
• 14,062 views
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,450 views
0 votes
0 answers

URGENT ! I have a problem in my code. Please Help!!

Hello, I tried to extract data from a ...READ MORE

Apr 24, 2020 in Selenium by anonymous
• 120 points
• 1,814 views
0 votes
1 answer

String insId=RecInspage.getInsIdByTransportName(driver, fileName).getText(); I want to give explicit wait for this how to write code?

Check out this link https://www.edureka.co/blog/waits-in-selenium/ This will give you ...READ MORE

Apr 27, 2020 in Selenium by Sirajul
• 59,190 points
• 1,692 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
• 15,068 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,685 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,967 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
• 14,665 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,620 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
• 16,026 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 • 13,549 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,545 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,740 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,723 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,533 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
• 22,046 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,278 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,700 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
• 14,354 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
• 27,158 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
• 10,290 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
• 28,161 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,560 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,548 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
• 33,000 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,721 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,866 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,428 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,455 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
• 2,260 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,783 views
0 votes
2 answers
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
• 12,069 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,699 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,402 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
• 8,061 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
• 2,038 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,835 views
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
• 14,149 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,508 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,977 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
• 12,294 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
• 13,103 views
+3 votes
1 answer

How to automate menu box / pop up of right click in python selenium.

You can use keys to do this. ...READ MORE

Aug 9, 2019 in Selenium by Shubham
• 11,363 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
• 15,294 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
• 15,156 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,551 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,806 views