Most voted questions in Selenium

0 votes
1 answer

Impilicit wait vs Explicit wait vs Fluent wait

Implicit wait: Your telling the WebDriver the ...READ MORE

Apr 14, 2018 in Selenium by king_kenny
• 3,710 points
4,636 views
0 votes
1 answer

How to select an Object by its class in Selenium?

When it comes to Selenium, XPath will ...READ MORE

Apr 14, 2018 in Selenium by king_kenny
• 3,710 points
1,454 views
0 votes
1 answer

Using XPath with Selenium-Java code

There is a minor syntax error in ...READ MORE

Apr 14, 2018 in Selenium by king_kenny
• 3,710 points
1,302 views
0 votes
1 answer

Diff between WebDriver listeners and TestNG listeners?

This is not a very important concept ...READ MORE

Apr 14, 2018 in Selenium by king_kenny
• 3,710 points
6,876 views
0 votes
1 answer

Upgrading or Updating existing version of Selenium Java Project

I downloaded the java client driver from ...READ MORE

Apr 13, 2018 in Selenium by commander
2,771 views
0 votes
5 answers

How to use JavaScript in selenium to click an Element?

WebElement element = driver.findElement(By.id("id")); JavascriptExe ...READ MORE

Aug 31, 2020 in Selenium by Sri
• 3,190 points
71,497 views
0 votes
1 answer

What is the difference between thoughtworks.selenium and openqa.selenium selenium?

thoughtworks.selenium is the original Selenium (aka Selenium 1, ...READ MORE

Apr 13, 2018 in Selenium by king_kenny
• 3,710 points
3,318 views
0 votes
1 answer

First 10 search results displayed from www.seleniumhq.org

Try this: int count= selenium.getXpathCount("xpath=//a[@onmousedown and @href ...READ MORE

Apr 13, 2018 in Selenium by Vardy
• 2,360 points
1,306 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
31,510 views
0 votes
1 answer

Need some advise on the preferred element locators with Selenium WebDriver

Well let's not call it "Hierarchy". But, ...READ MORE

Apr 13, 2018 in Selenium by king_kenny
• 3,710 points
1,734 views
0 votes
1 answer

Selenium Alternatives: Is there a tool like Selenium for testing web pages but which does not involve coding.

I'm guessing you've tried Selenium IDE already. ...READ MORE

Apr 13, 2018 in Selenium by king_kenny
• 3,710 points
1,088 views
0 votes
1 answer

Selenium: working of Fluentwaits

Basically a FluentWait is used to define ...READ MORE

Apr 13, 2018 in Selenium by king_kenny
• 3,710 points
1,127 views
0 votes
2 answers

How is Maven used with Selenium? Does it also do the testing?

Hi , Maven is a build tool . Why ...READ MORE

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

Can Selenium testing be done on gui less server? I heard of something called headless browser testing, but not sure.

Yes, you are indeed rigth. For Selenium ...READ MORE

Apr 13, 2018 in Selenium by king_kenny
• 3,710 points
2,131 views
0 votes
1 answer

How can I Install Selenium IDE in Firefox

Selenium IDE works with all Firefox versions, ...READ MORE

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

How do i change the location where my file gets downloaded in Selenium Webdriver and firefox driver?

There are a couple of errors there. ...READ MORE

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

I need to find a web element using CSS

The element should be located with any ...READ MORE

Apr 13, 2018 in Selenium by nsv999
• 5,500 points
1,257 views
0 votes
1 answer

Getting exception with grid: (WebDriverException: The path to the driver executable must be set....)

You should start the hub and node ...READ MORE

Apr 13, 2018 in Selenium by nsv999
• 5,500 points
2,989 views
0 votes
1 answer

Will Selenium v3.8.1 work with latest versions of Firefox?

Yup it should work with the latest ...READ MORE

Apr 12, 2018 in Selenium by nsv999
• 5,500 points
1,016 views
0 votes
1 answer

JARS for using Selenium class functions in code

Yup. I'm not sure, exactly which JARS ...READ MORE

Apr 12, 2018 in Selenium by nsv999
• 5,500 points
1,924 views
0 votes
1 answer

Previous versions of Selenium JARs

You can download all the versions of ...READ MORE

Apr 12, 2018 in Selenium by Meci Matt
• 9,460 points
4,532 views
0 votes
2 answers

Differences between Selenium and Appium

Selenium: Selenium is a automation tool used for ...READ MORE

Nov 15, 2018 in Selenium by Arogyalokesh Vutukuru
3,019 views
0 votes
3 answers

Scripting Languages used with Selenium tool for Automation Testing

The biggest advantage of Selenium is that ...READ MORE

Aug 28, 2019 in Selenium by Abha
• 28,140 points
5,249 views
0 votes
2 answers

Latest Version of Chrome Driver for Selenium Webdriver

Hi, The latest version of Chrome driver for ...READ MORE

Aug 28, 2019 in Selenium by Abha
• 28,140 points
6,090 views
0 votes
2 answers

Radio button using Selenium WebDriver

You can try following code snippet: WebElement elem ...READ MORE

Aug 28, 2019 in Selenium by Abha
• 28,140 points
5,304 views
0 votes
1 answer

“selenium java” jar file vs. “Selenium server standalone” jar file

Explanation below. Also, there is a similar ...READ MORE

Apr 10, 2018 in Selenium by nsv999
• 5,500 points
6,392 views
0 votes
2 answers

Finding WebDriver element with Class Name in java

The better way to handle this element ...READ MORE

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

Using gettext() method for the specific element using Selenium WebDriver

Mistake is that u r printing the ...READ MORE

Apr 10, 2018 in Selenium by Vardy
• 2,360 points
29,096 views
0 votes
1 answer

Handling JavaScript Alert window in Selenium WebDriver

You should try using waits for alerts ...READ MORE

Apr 10, 2018 in Selenium by ghost
• 1,800 points
2,837 views
0 votes
1 answer

Unable to use Selenium IDE & Firebug on Firefox

Unfortunately, Selenium IDE will not work anymore ...READ MORE

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

How can we create a new Firefox profile for Selenium WebDriver?

Okay so first of all, in the ...READ MORE

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

How can I implement Selenium using C#?

Reference https://www.seleniumhq.org/docs/03_webdriver.jsp#the-5-minute-getting-started-guide using OpenQA.Selenium.Firefox; using OpenQA.Selenium; class GoogleSuggest { ...READ MORE

Apr 9, 2018 in Selenium by Neville
1,339 views
0 votes
1 answer

Locating an element by value using css selector using Selenium WebDriver

Below code will help By.cssSelector("td[class='someclass'][value=' ...READ MORE

Apr 9, 2018 in Selenium by coldcode
• 2,090 points
2,543 views
0 votes
1 answer

Getting CSS class name using Selenium Webdriver

You can use getAttribute(attributeLocator) function.  selenium.getAttribute(//xpath@class); You have to specify the ...READ MORE

Apr 9, 2018 in Selenium by ghost
• 1,800 points
1,975 views
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
7,516 views
0 votes
1 answer

JavaScript Executor using Selenium WebDriver

Its working fine but the problem in ...READ MORE

Apr 9, 2018 in Selenium by Vardy
• 2,360 points
1,876 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
8,102 views
0 votes
1 answer

Differences between Implicit wait Vs. Explicit wait in selenium webdriver

Implicit Wait - It instructs the web driver ...READ MORE

Apr 9, 2018 in Selenium by ghost
• 1,800 points
4,110 views
0 votes
2 answers

Difference between Action and Actions in Selenium

 Actions class is based on builder design pattern ...READ MORE

Jun 21, 2019 in Selenium by virendra

edited Jul 26, 2019 59,157 views
0 votes
1 answer

Screenshot using Selenium WebDriver

Below code will help you using JAVA: WebDriver ...READ MORE

Apr 9, 2018 in Selenium by nsv999
• 5,500 points
1,215 views
0 votes
1 answer

Handling Alerts Selenium Webdriver

You can use Explicit Wait from here https://www.seleniumhq.org/docs/04_webdriver_advanced.jsp#explicit-and-implicit-waits public ...READ MORE

Apr 9, 2018 in Selenium by Damon Salvatore
• 5,980 points
2,144 views
0 votes
1 answer

Running a selenium-server-standalone

Below codes will help you: java -jar seleniumjar.jar ...READ MORE

Apr 9, 2018 in Selenium by KillerMiller
2,014 views
0 votes
1 answer

geckodriver in selenium webdriver 3.0 beta

Check this out System.setProperty("webdriver.gecko.driver", "pathTogeckodriver"); DesiredCapabilities capabilities = DesiredCapabilities.firefox(); capabilities.setCapability("marionette", ...READ MORE

Apr 9, 2018 in Selenium by Christine
• 15,750 points
1,002 views
0 votes
1 answer

Selecting a dropdown value in Selenium WebDriver

Try to wrap your WebElement as shown ...READ MORE

Apr 9, 2018 in Selenium by QueenBee
• 1,820 points
3,575 views
0 votes
1 answer

How can I download the *.jar file from http:// seleniumhq.org using selenium WebDriver?

For Selenium Standalone Server use this: profile.setPreference("browser.helperApps.neverAsk.saveToDisk", "application/java-archive"); and ...READ MORE

Apr 9, 2018 in Selenium by Martin
• 4,320 points
3,957 views
0 votes
1 answer

Page Object Model(POM) and Keyword driven FrameWork in Selenium

Okay, first of all, page object model ...READ MORE

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

How to take screenshot in Selenium WebDriver

In Java, it can be done like ...READ MORE

Apr 7, 2018 in Selenium by nsv999
• 5,500 points
2,513 views
0 votes
1 answer

What's the difference between functions getClass() and getAttribute(“class”) in Selenium?

The simple difference is that, getClass() returns ...READ MORE

Apr 7, 2018 in Selenium by nsv999
• 5,500 points
12,671 views
0 votes
1 answer

How to record popup windows with selenium IDE

If the popup window has a name ...READ MORE

Apr 7, 2018 in Selenium by nsv999
• 5,500 points
3,216 views
0 votes
1 answer

How do we use Gecko driver.exe with Selenium?

Recently Selenium launched v3 and if you ...READ MORE

Apr 7, 2018 in Selenium by nsv999
• 5,500 points
1,068 views