Most viewed questions in Selenium

0 votes
1 answer

How to apply wait for new window using Selenium WebDriver?

As sometimes during web automation, when you ...READ MORE

Jul 10, 2019 in Selenium by Vaishali Walia
8,572 views
0 votes
1 answer

How to read a JS variable in Selenium Webdriver?

Hi Himanshu, its quite easy to access any ...READ MORE

May 7, 2019 in Selenium by Abha
• 28,140 points
8,510 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,481 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
8,468 views
0 votes
2 answers

webdriver.ie.driver System Property setting driver executable

System.setProperty("webdriver.chrome.driver","C:\\Users\\vthaduri\\workspace\\LDCSuite\\IEDriverServer.exe"); your miss take is webdriver.chrome.driver but, we have ...READ MORE

Apr 24, 2019 in Selenium by anonymous
8,396 views
0 votes
2 answers

What is the difference between BeforeClass and BeforeTest in TestNG - Selenium WebDriver

@Before and @After are called for every ...READ MORE

Mar 10, 2019 in Selenium by onlyfullstack
8,393 views
+1 vote
0 answers

Loop through page links in div and click each link containing a specific value in Selenium (java)

I have an html page that has ...READ MORE

Jun 13, 2020 in Selenium by laiman
• 330 points
8,353 views
0 votes
1 answer

How to click on a drop down menu using selenium?

This can be tricky if you try ...READ MORE

Jan 4, 2019 in Selenium by Dhruva
8,201 views
0 votes
1 answer

Is it possible to run Selenium automation scripts with Safari Browser on a Windows machine?

Hi Lokesh, it's not possible to run a ...READ MORE

May 14, 2019 in Selenium by Abha
• 28,140 points
8,188 views
0 votes
2 answers

Is there any way to get the text of a web element using Selenium Webdriver?

use gettext() in java : string lableText = ...READ MORE

Sep 3, 2020 in Selenium by Sri
• 3,190 points
8,179 views
+1 vote
1 answer

Auto suggest text box in selenium webdriver

You must enter a value to suggest ...READ MORE

Jul 27, 2018 in Selenium by Samarpit
• 5,910 points
8,149 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
8,060 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,036 views
0 votes
1 answer

Get text from CSS property “content” on a - before pseudo element in Selenium WebDriver

I am not sure if WebDriver can retrieve ...READ MORE

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

Find element with specific text in selenium

You can use Xpath as the locator ...READ MORE

Jan 9, 2019 in Selenium by Nabarupa
8,009 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
7,989 views
+1 vote
1 answer

How to handle drop downs using Selenium WebDriver in Java

First, find an XPath which will return ...READ MORE

Mar 27, 2018 in Selenium by nsv999
• 5,500 points
7,966 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
7,964 views
0 votes
2 answers

How to create a Javascript executor for making an element visible in Selenium Webdriver?

document.getElementById("myBtn").disabled = true; READ MORE

Aug 31, 2020 in Selenium by Sri
• 3,190 points
7,948 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
7,893 views
0 votes
1 answer

I am not able to generate extent report with screenshot in selenium cucumber java .. Please help me out

Hello @kanikahans, You need to define Extent Report ...READ MORE

Aug 24, 2020 in Selenium by Niroj
• 82,880 points
7,870 views
+1 vote
1 answer

How can I automate the process of adding iPhone to cart in Flipkart using Selenium(java),Page Object Model and TestNG? Also validate if product is added and available in cart?

Hey check this https://www.edureka.co/community/47160/automate-purchase-adding-book-cart-flipkart-using-selenium? It deals with a similar ...READ MORE

Jan 13, 2020 in Selenium by Karan
• 19,610 points
7,864 views
0 votes
1 answer

How to check whether a text is underlined or not in a webpage using Selenium Webdriver?

Hey Kamal, you can use following code ...READ MORE

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

What is the difference between dot and text() in XPath?

Even though there is some difference between ...READ MORE

Apr 25, 2018 in Selenium by king_kenny
• 3,710 points
7,790 views
0 votes
1 answer

How can I read numeric data from an Excel sheet using Selenium Webdriver?

Hey Jignesh, for reading numeric data from ...READ MORE

Jul 17, 2019 in Selenium by Abha
• 28,140 points
7,736 views
0 votes
1 answer

How to create a executable jar file for TestNG and the runnnig point should be the Xml file

Use Eclipse Export Wizard. While exporting, select "Create ...READ MORE

Aug 24, 2018 in Selenium by Meci Matt
• 9,460 points
7,688 views
0 votes
2 answers

What are the limitations of Selenium?

Hi Moray, limitations of selenium webdriver are ...READ MORE

Jun 10, 2019 in Selenium by Abha
• 28,140 points
7,645 views
+2 votes
1 answer

C Sharp with Selenium -- How to Switch one tab to another tab in Csharp selenium

You could use Session.Driver.WindowHandles which is basically to switch ...READ MORE

Dec 23, 2019 in Selenium by Sirajul
• 59,230 points
7,625 views
0 votes
1 answer

Double click in Selenium using Python

Hey there! As far as I know, ...READ MORE

Mar 20, 2019 in Selenium by Surya
• 970 points
7,606 views
0 votes
1 answer

Difference between webdriver wait and fluent wait in Selenium Webdriver?

Hi Bunty, WebDriverWait is applied on certain ...READ MORE

Jun 12, 2019 in Selenium by Anvi
• 14,150 points
7,593 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
7,581 views
0 votes
2 answers

How to use such xpath to find web elements

xpath are two types. 1) Absolute XPath:    /html/b ...READ MORE

Sep 3, 2020 in Selenium by Sri
• 3,190 points
7,557 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
7,550 views
0 votes
1 answer

What is threadPoolSize used for @Test methods in TestNG?

Hi Rahul, threadPoolSize tells the TestNG to form a ...READ MORE

Jun 19, 2019 in Selenium by Abha
• 28,140 points
7,530 views
0 votes
2 answers

How to know the exact time to load a page using Selenium WebDriver?

long start = System.currentTimeMillis(); driver.get("Some url"); long finish = ...READ MORE

Sep 6, 2020 in Selenium by Sri
• 3,190 points
7,528 views
0 votes
1 answer

Error: org.openqa.selenium.ElementNotInteractableException

Try to use javascriptExecutor to click the ...READ MORE

Jul 30, 2018 in Selenium by Samarpit
• 5,910 points
7,525 views
+1 vote
1 answer

How to perform right click on an element and open it a new window using Web Driver?

Hey Karthik, you can perform right click ...READ MORE

Jul 7, 2019 in Selenium by Hansraj
7,516 views
0 votes
1 answer

Select an item from a dropdown list using Selenium WebDriver

Use this then it will work - new ...READ MORE

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

Selenium ChromeDriver issue - Want to run it in background, but not as headless browser

This is a flaw with ChromeDriver. Tried ...READ MORE

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

Reading text using selenium webdriver XPath

I don't know about how to do ...READ MORE

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

How to switch different browser tabs using Python Selenium?

Hello Rohan, you can use the following ...READ MORE

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

edited Apr 18, 2022 by Sarfaraz 7,455 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,433 views
0 votes
1 answer

Reading the pdf file using selenium webdriver

Use should use PDFBox and FontBox. ...READ MORE

Apr 25, 2018 in Selenium by Vardy
• 2,360 points
7,425 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,418 views
0 votes
1 answer

What are the main disadvantages of using implicit wait in Selenium?

Hey Aaron, the main disadvantage of implicit ...READ MORE

Jun 1, 2019 in Selenium by Abha
• 28,140 points
7,416 views
–1 vote
1 answer

How can I perform Select All method on a webpage using Selenium Webdriver?

@Kashish, normally we use Ctrl+A to perform ...READ MORE

Jun 25, 2019 in Selenium by Scott
7,385 views
0 votes
1 answer

How to disable 'This type of file can harm your computer' pop up

The problem with XML files started to ...READ MORE

Sep 19, 2018 in Selenium by Meci Matt
• 9,460 points
7,358 views
0 votes
1 answer

Firefox browser not opening with given URL using Selenium Webdriver with Java

Download the latest selenium jar and replace ...READ MORE

Apr 30, 2018 in Selenium by Samarpit
• 5,910 points
7,356 views
0 votes
1 answer

How to pass parameter through testng.xml file to a test case in Selenium Webdriver?

Hello Revathi, to pass parameter through testng.xml ...READ MORE

Jun 12, 2019 in Selenium by Abha
• 28,140 points
7,298 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
7,295 views