Trending questions in Selenium

0 votes
1 answer

Protractor waiting for element to be in DOM

You should be able to use browser.wait together with ...READ MORE

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

Make sure that browser opened by webdriver is always in focus

The following should work: ((JavascriptExecutor) webDriver).execute ...READ MORE

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

TestNG error:- Cannot find class in classpath

The issue is because the project directory ...READ MORE

Mar 23, 2018 in Selenium by nsv999
• 5,110 points
8,475 views
0 votes
1 answer

How to Submit HTTP authentication with Selenium python-binding webdriver

I have found a solution to this ...READ MORE

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

How to record popup windows with selenium IDE

If that pop up window has name, ...READ MORE

Sep 28, 2018 in Selenium by Meci Matt
• 9,420 points
248 views
0 votes
1 answer

How to open a new window on a browser using Selenium WebDriver for python?

You can try the below code: driver = ...READ MORE

Aug 23, 2018 in Selenium by Meci Matt
• 9,420 points
1,774 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,270 points
7,604 views
+1 vote
2 answers

selenium-python Process unexpectedly closed with status 1

Hi paragf! I checked your code.  Firstly, there ...READ MORE

Sep 28, 2018 in Selenium by Omkar
• 67,660 points
140 views
0 votes
1 answer

How to run tests in behat on firefox 48.0 using selenium stand alone server?

Starting the selenium server standalone with chrome ...READ MORE

Sep 28, 2018 in Selenium by Meci Matt
• 9,420 points
194 views
0 votes
1 answer

Finding xPath for an element with text

I think the problem is here: [contains(text()='Some text')] To ...READ MORE

Jul 31, 2018 in Selenium by Meci Matt
• 9,420 points
2,735 views
0 votes
1 answer

How to execute JavaScript in Ruby written Webdriver test?

The equivalent Ruby would be: name = ...READ MORE

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

Selenium-Python , find out when a download has completed

There is no built-in to selenium way ...READ MORE

Sep 4, 2018 in Selenium by Meci Matt
• 9,420 points
1,148 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,420 points
2,267 views
0 votes
1 answer

How to download a pdf file diagrammatically from a web page with .html extension?

For downloading a pdf file: import java.io.File; import java.io.FileOutputStream; import ...READ MORE

Sep 28, 2018 in Selenium by Meci Matt
• 9,420 points
110 views
0 votes
1 answer

How to close tab in WebDriver or Protractor

Switch to the newly opened tab. Close ...READ MORE

Aug 16, 2018 in Selenium by Meci Matt
• 9,420 points
1,860 views
0 votes
1 answer

Python Selenium (waiting for frame, element lookups)

You could use WebDriverWait: from contextlib import closing from selenium.webdriver ...READ MORE

Sep 14, 2018 in Selenium by Martin
• 4,220 points
593 views
+6 votes
1 answer

Recording all of our test cases in Selenium IDE

Well @vincitydaimo, for obvious reasons we prefer not ...READ MORE

Sep 20, 2018 in Selenium by Vardhan
• 12,740 points
76 views
0 votes
1 answer

Firefox Error: “Your connection is not secure” while launching driver with Selenium 3.0.1 using Java

Download Firefox 55 beta and set capabilities.setCapability("acceptInsecureCerts", true); Here ...READ MORE

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

Selenium wait for Ajax content to load

you need to wait for Javascript and ...READ MORE

Jul 31, 2018 in Selenium by Meci Matt
• 9,420 points
2,477 views
0 votes
1 answer

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

Normally WebDriver should return control to your ...READ MORE

Aug 23, 2018 in Selenium by Meci Matt
• 9,420 points
1,458 views
0 votes
1 answer

Basic authentication with Selenium in Internet Explorer 10

My upgrade to Internet Explorer 10 was ...READ MORE

Sep 14, 2018 in Selenium by Martin
• 4,220 points
488 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,420 points
2,083 views
0 votes
1 answer

Selenium + IE8: force IE8 compatibility view

I have some workarond solution for this, ...READ MORE

Sep 19, 2018 in Selenium by Meci Matt
• 9,420 points
211 views
0 votes
1 answer

Clicking on hidden element in Selenium WebDriver

let us first store that element in the ...READ MORE

Jun 12, 2018 in Selenium by Meci Matt
• 9,420 points
4,449 views
0 votes
1 answer

Selenium and :hover css

I couldn't find a way to do ...READ MORE

Sep 19, 2018 in Selenium by Sushmita
• 6,880 points
158 views
0 votes
1 answer

Selenium with pyvirtualdisplay unable to locate element

If there is some dynamic content on ...READ MORE

Sep 14, 2018 in Selenium by Martin
• 4,220 points
319 views
0 votes
1 answer

How to set Page Load Timeout using C# and Selenium Webdriver

Check this out C# WebDriver API now contains ...READ MORE

Aug 3, 2018 in Selenium by Samarpit
• 5,130 points
2,128 views
0 votes
1 answer

WebDriver Chrome Browser: Avoid 'Do you want chrome to save your password' pop up

You need to configure the following chrome ...READ MORE

Sep 18, 2018 in Selenium by Meci Matt
• 9,420 points
85 views
+6 votes
1 answer

Selenium 4.0 new update

Hey Vrithra, I'm not too sure about the ...READ MORE

Aug 24, 2018 in Selenium by Vardhan
• 12,740 points
927 views
0 votes
1 answer

Getting current page url with selenium

If you are having issues with .get(), then ...READ MORE

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

How to get a page name using Selenium Webdriver (C#)?

I believe the below thing works: driver.Title; READ MORE

Sep 14, 2018 in Selenium by Martin
• 4,220 points
173 views
0 votes
1 answer

Handling a popup window using selenium

This is a code I use when ...READ MORE

Aug 31, 2018 in Selenium by Meci Matt
• 9,420 points
646 views
0 votes
1 answer

Pass driver ChromeOptions and DesiredCapabilities?

You can add ChromeOptions to DesiredCapabilities then create the driver with ...READ MORE

Aug 23, 2018 in Selenium by Meci Matt
• 9,420 points
996 views
0 votes
1 answer

Selenium python find_element_by_class_name() stopped working from v 2.2 to 2.21 — not able to use 'Compound Class Name'

The problem about WebDriver is that it ...READ MORE

Aug 23, 2018 in Selenium by Meci Matt
• 9,420 points
987 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,130 points
1,986 views
0 votes
1 answer

How to open a browser window in full screen using Selenium WebDriver with C#

Simply Use this: driver.Manage().Window.Maximize(); READ MORE

Jun 7, 2018 in Selenium by Samarpit
• 5,130 points
4,270 views
0 votes
1 answer

How to run a selenium-server-standalone?

java -jar seleniumjar.jar -Dwebdriver.chrome.driver=./chromedriver If you want to ...READ MORE

Sep 3, 2018 in Selenium by Meci Matt
• 9,420 points
444 views
0 votes
1 answer

How to click a span with given text using Selenium Python

If ALL_USA is subject to change, then ...READ MORE

Jul 26, 2018 in Selenium by Samarpit
• 5,130 points
2,090 views
0 votes
1 answer

Selenium-Debugging Error: Element is not clickable at point (X,Y)

Another element is covering the element you ...READ MORE

Jul 2, 2018 in Selenium by Samarpit
• 5,130 points
3,075 views
0 votes
1 answer

Downloading Image using send Keys Selenium Chrome

Use the below code to save the ...READ MORE

Jul 20, 2018 in Selenium by Samarpit
• 5,130 points
2,282 views
0 votes
1 answer

Python Selenium WebDriver drag-and-drop

I have verified that this does in ...READ MORE

Aug 23, 2018 in Selenium by Meci Matt
• 9,420 points
757 views
0 votes
1 answer

How to find Elements by their Attribute in Python Selenium WebDriver

To find all the <td> tags which have attribute data-sortable-id you ...READ MORE

Jul 19, 2018 in Selenium by Samarpit
• 5,130 points
2,245 views
0 votes
1 answer

Screenshot using PhantomJS in C#

Here is how to take the screenshot ...READ MORE

Aug 23, 2018 in Selenium by Meci Matt
• 9,420 points
726 views
+1 vote
1 answer

Selenium Eror: org.openqa.selenium.UnhandledAlertException: unexpected alert open

Even I had a similar problem. This ...READ MORE

May 29, 2018 in Selenium by sniffy_god
• 780 points
4,401 views
0 votes
1 answer

How to get status code by using selenium.py (python code)

Unfortunately, Selenium does not provide this information ...READ MORE

Aug 16, 2018 in Selenium by Meci Matt
• 9,420 points
1,012 views
0 votes
1 answer

How to select first instance of a button in a table row based on cell content by XPath

This xpath should give you all the ...READ MORE

Jun 6, 2018 in Selenium by jons
4,074 views
0 votes
1 answer

Selenium WebDriver operates very slow

Allowing WebDriver to attach to a running browser - ...READ MORE

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

Open firefox window in selenium with firefox addons loaded

If you are using selenium remote control, you ...READ MORE

Sep 4, 2018 in Selenium by Meci Matt
• 9,420 points
118 views
0 votes
1 answer

Setting up Chromeoptions and setExperimentalOption code

Here are the complete details: ChromeOptions options = ...READ MORE

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

Current URL of the already opened browser using selenium

Use Something like this: //get all the windows ...READ MORE

Jul 25, 2018 in Selenium by Samarpit
• 5,130 points
1,835 views