Trending questions in Selenium

0 votes
1 answer

I'm getting an error in my seleium chrome tests:- Chrome failed to start: exited abnormally

I've faced this issue before when working ...READ MORE

May 7, 2018 in Selenium by king_kenny
• 3,650 points
961 views
0 votes
1 answer

Sending cookies using Selenium WebDriver

You can create cookies using Java API ...READ MORE

May 25, 2018 in Selenium by Meci Matt
• 9,420 points
184 views
0 votes
1 answer

Implicit wait & Explicit wait in selenium WebDriver

Implicit Wait:  While loading a web page in ...READ MORE

May 24, 2018 in Selenium by Meci Matt
• 9,420 points
220 views
0 votes
1 answer

What is the default profile for Selenium WebDriver?

While using Firefox in Selenium WebDriver 3.0, ...READ MORE

May 14, 2018 in Selenium by Meci Matt
• 9,420 points
628 views
+3 votes
1 answer

Not able to run in chrome

There is a very silly mistake in ...READ MORE

May 15, 2018 in Selenium by king_kenny
• 3,650 points
459 views
0 votes
1 answer

Error running tests with Selenium WebDriver - FirefoxDriver error: Failed to start up socket within 45000

Normally a socket exception occurs when the ...READ MORE

May 25, 2018 in Selenium by sniffy_god
• 780 points
135 views
0 votes
1 answer

Identifying frames in selenium webdriver, when frame dont have ids

In Selenium WebDriver, if you don't find ...READ MORE

May 10, 2018 in Selenium by Meci Matt
• 9,420 points
767 views
0 votes
1 answer

Identifying the page iframe in Selenium using Java Code

Open the page in a browser and ...READ MORE

May 24, 2018 in Selenium by Samarpit
• 5,130 points
150 views
0 votes
1 answer

Need to know which is better among browser.isElementPresent vs element.isPresent vs element.isElementPresent

All of these work very similar but ...READ MORE

May 16, 2018 in Selenium by king_kenny
• 3,650 points
481 views
0 votes
1 answer

Problem while using InternetExplorerDriver in Selenium WebDriver

In order to use IE Driver you ...READ MORE

Apr 18, 2018 in Selenium by Meci Matt
• 9,420 points
1,707 views
0 votes
1 answer

Selenium WebDriver for retrieving HTML input value

Try  element.getAttribute("value") The text property is for text within ...READ MORE

May 23, 2018 in Selenium by sniffy_god
• 780 points
154 views
0 votes
1 answer

Getting different texts from the HTML DOM through Selenium and Python

Try Below code: something = elem.find_element_by_xpath('./td[5]') text1 = driver.execute_script('return ...READ MORE

May 14, 2018 in Selenium by Samarpit
• 5,130 points
552 views
0 votes
1 answer

Selenium: Executing multiple tests at the same time

Probably your not aware of Selenium Grid ...READ MORE

May 25, 2018 in Selenium by sniffy_god
• 780 points
63 views
0 votes
1 answer

How to Stop a For-Loop at a special number using Python

driver.find_elements_by_tag_name() returns a list of WebElements. You can use options ...READ MORE

May 25, 2018 in Selenium by Samarpit
• 5,130 points
37 views
0 votes
1 answer

Test fail: Selenium Python send_keys stop working

Your chrome driver should be latest version ...READ MORE

May 16, 2018 in Selenium by Samarpit
• 5,130 points
421 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,110 points
1,963 views
0 votes
1 answer

Performing authentication for FirefoxDriver, ChromeDriver and IEDriver using Selenium WebDriver

Use the below code for firefox: profile.SetPreference("network.automatic-ntlm-auth.trusted-uris", "google.com"); driver ...READ MORE

May 9, 2018 in Selenium by Meci Matt
• 9,420 points
706 views
0 votes
1 answer

Wait til an element appears in Selenium?

You should call ignoring with exception to ignore till ...READ MORE

May 24, 2018 in Selenium by Meci Matt
• 9,420 points
40 views
0 votes
1 answer

Error selenium (rich:calendar)

See below code: public static void selecionarDataCalendario(By by,WebDriver ...READ MORE

May 24, 2018 in Selenium by Samarpit
• 5,130 points
23 views
0 votes
1 answer

Diff between WebDriver listeners and TestNG listeners?

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

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

Need to know how phantomjs execution is stopped

Actually, the .close() method is not the ...READ MORE

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

Handling calendar popup using Selenium WebDriver

You are selecting wrongly your elements in ...READ MORE

Apr 17, 2018 in Selenium by Shubham
• 13,310 points
1,575 views
0 votes
1 answer

Capturing JavaScript errors with Selenium WebDriver using Java

There is logs Beta version in WebDriver driver.manage().logs().get(LogType.BROWSER); Console output will be ...READ MORE

May 18, 2018 in Selenium by Samarpit
• 5,130 points
245 views
0 votes
1 answer
0 votes
1 answer

Selenium .net Binary location failed VB.NET

ChromeOptions.BinaryLocation is for specifying the location of ...READ MORE

May 15, 2018 in Selenium by Samarpit
• 5,130 points
348 views
0 votes
1 answer

Opening Tabs using a Watir in Ruby

Selenium doesn't explicitly support opening of tabs, ...READ MORE

May 10, 2018 in Selenium by Samarpit
• 5,130 points
546 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 12, 2018 in Selenium by nsv999
• 5,110 points
1,727 views
0 votes
1 answer

Wait for an element to be accessible using Selenium WebDriver

You can try out the below code: ...READ MORE

May 18, 2018 in Selenium by Atul
• 10,240 points
154 views
0 votes
1 answer

Where do I get the ChromeDriver.exe from? The download link isn't available

You can download the chromedriver.exe from this ...READ MORE

Apr 3, 2018 in Selenium by nsv999
• 5,110 points
2,092 views
0 votes
1 answer

Chrome's console log

You can get logs using the following ...READ MORE

May 18, 2018 in Selenium by Atul
• 10,240 points
133 views
0 votes
1 answer

Install Selenium in a conda environment

Conda uses different channels to search for ...READ MORE

Apr 20, 2018 in Selenium by Vardy
• 2,270 points
1,347 views
0 votes
1 answer

XPath for the elements with no ID or Name in Selenium Webdriver

Use like this or similar to this: //div[@id="top-level-menu-item-3"]/div[@class="filter-label"] //div[@id="top-level-menu1"] ...READ MORE

Apr 17, 2018 in Selenium by Meci Matt
• 9,420 points
1,470 views
0 votes
1 answer

Wait for page to load using HtmlUnitDriver

You can create a custom ExpectedCondition public static ...READ MORE

May 7, 2018 in Selenium by anonymous
577 views
0 votes
1 answer

Taking a screenshot when a protractor test fails

This GitHub link will help you in ...READ MORE

May 16, 2018 in Selenium by Samarpit
• 5,130 points
194 views
0 votes
1 answer

Which is preferred more in Selenium Absolute or Relative XPath

Absolute XPath is the direct way to ...READ MORE

Apr 20, 2018 in Selenium by Meci Matt
• 9,420 points
1,281 views
0 votes
1 answer

IFrame in Selenium

You can try out the belo code: driver.switch_to.frame(driver.find_element_by_tag_name("iframe")) .  To ...READ MORE

May 11, 2018 in Selenium by Meci Matt
• 9,420 points
370 views
0 votes
1 answer

'The connection has timed out Error using Selenium Webdriver

Try to use implicit waits to ensure ...READ MORE

Apr 17, 2018 in Selenium by niki
1,393 views
0 votes
1 answer

Which combination will work - Selenium WebDriver 3.5.0 + geckodriver 0.18.0 + Firefox

I got to know that using Selenium ...READ MORE

May 14, 2018 in Selenium by Meci Matt
• 9,420 points
225 views
0 votes
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,110 points
2,294 views
0 votes
1 answer

How to eleiminate Selenium NoClassDefFoundError for SSLContext?

You need to upgrade the httpCore dependency ...READ MORE

May 4, 2018 in Selenium by Samarpit
• 5,130 points
633 views
0 votes
1 answer

Need to know the differences between .// and //* in XPath?

The expressions your talking about, select different ...READ MORE

Apr 29, 2018 in Selenium by king_kenny
• 3,650 points
857 views
0 votes
1 answer

Downloading file and saving it to the desired location in Selenium Webdriver

When you are setting up the Firefox ...READ MORE

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

Need to scroll down for locating an Element with Selenium

There are a couple of options for ...READ MORE

Apr 20, 2018 in Selenium by king_kenny
• 3,650 points
1,155 views
0 votes
1 answer

Handling selenium webdriver popups

If you want to handle the most ...READ MORE

May 14, 2018 in Selenium by king_kenny
• 3,650 points
124 views
0 votes
1 answer

How to use FireFoxDriver using Selenium 3.4.0 using Maven?

Your using the wrong functions to set ...READ MORE

Apr 5, 2018 in Selenium by nsv999
• 5,110 points
1,750 views
0 votes
1 answer

Click action in Selenium WebDriver

You can use the below code to ...READ MORE

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

How to upload a resume to a website using selenium in python?

Use this code, this will help you: from ...READ MORE

Apr 20, 2018 in Selenium by Vardy
• 2,270 points
1,094 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,790 points
1,545 views
0 votes
1 answer

Untrusted Certificates Force Ruby Selenium

Check this out capabilities = Selenium::WebDriver::Remote::W3C::Capabilities.firefox(accept_insecure_certs: true) driver = ...READ MORE

May 9, 2018 in Selenium by Samarpit
• 5,130 points
234 views
0 votes
1 answer

Saving data to the same xls file with Robot Framework ExcelLibrary

The documentation of the library states that, ...READ MORE

Mar 26, 2018 in Selenium by nsv999
• 5,110 points
2,074 views