Most voted questions in Selenium

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,320 points
2,538 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 5, 2018 in Selenium by Meci Matt
• 9,460 points

edited Feb 7, 2020 by Gitika 21,683 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 5, 2018 in Selenium by Meci Matt
• 9,460 points
2,002 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,460 points
3,956 views
0 votes
1 answer

Selenium WebDriver and browsers select file dialog

If you are trying to select a ...READ MORE

Sep 3, 2018 in Selenium by Meci Matt
• 9,460 points
11,231 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,460 points
5,831 views
0 votes
1 answer

Closing all opened tabs except the first main tab using web-driver

Get all the window handles then iterate ...READ MORE

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

Tried doing automation of drop down with click or type into & select item.

Hello @Bharti, I was using the same ...READ MORE

Dec 20, 2018 in Selenium by Priyaj
• 58,020 points
974 views
0 votes
1 answer

How to wait for the webpage to load in selenium using java

Firstly, when you launch a web application, ...READ MORE

Aug 29, 2018 in Selenium by bug_seeker
• 15,520 points
2,361 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
8,516 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,460 points
5,161 views
0 votes
1 answer

Chrome driver makes screenshot just of visible part of page

This is a known bug: https://code.google.com/p/chromedriver/issues/detail?id=294 (Only for Chrome ...READ MORE

Aug 23, 2018 in Selenium by Meci Matt
• 9,460 points
974 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,460 points
4,689 views
0 votes
1 answer

Login popup window using selenium webdriver?

Follow this steps: 1) Open the FireFox browser 2) ...READ MORE

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

How to use SendKeys (webdriver) command in Rich Text editor that is located in iframe

Send keys directly is the approach that ...READ MORE

Aug 23, 2018 in Selenium by Meci Matt
• 9,460 points
10,316 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
8,480 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,460 points
2,633 views
0 votes
1 answer

Send keys control + click in Selenium with Python bindings

Use an ActionChain with key_down to press the control key, and key_up to ...READ MORE

Aug 23, 2018 in Selenium by Meci Matt
• 9,460 points
13,311 views
0 votes
1 answer

Using Extensions with Selenium - Python

You should use chrome web driver options to set ...READ MORE

Aug 23, 2018 in Selenium by Meci Matt
• 9,460 points
4,769 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,460 points
7,047 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,460 points
2,917 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,460 points
5,993 views
0 votes
1 answer

Verify that an element exist in Selenium 2 or not

If you are testing using JUnit and ...READ MORE

Aug 23, 2018 in Selenium by Meci Matt
• 9,460 points
6,209 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,460 points
7,073 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,460 points
5,051 views
0 votes
1 answer

selenium 2 chrome driver

Try this System.setProperty("webdriver.chrome.driver", "C:\\pathto ...READ MORE

Aug 13, 2018 in Selenium by Samarpit
• 5,910 points
971 views
0 votes
1 answer

How to start headless chrome in incognito mode?

You are missing a single -... "--incognito" READ MORE

Aug 13, 2018 in Selenium by Samarpit
• 5,910 points
3,707 views
0 votes
1 answer

Single .exe file embedding both chromedriver and geckodriver into it

Yeah, it is possible. You could start ...READ MORE

Aug 11, 2018 in Selenium by DataKing99
• 8,250 points
1,948 views
0 votes
8 answers

How to open a link in new tab of chrome browser using Selenium WebDriver?

This below code works for me in ...READ MORE

Dec 14, 2020 in Selenium by Gitika
• 65,730 points
105,167 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
8,080 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,910 points
6,527 views
0 votes
1 answer

How to disable cookies using webdriver for Chrome and FireFox JAVA?

The solution for Firefox is below: FirefoxProfile profile ...READ MORE

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

How do I assert an element is focused?

Since expect expects to be called with a promise, ...READ MORE

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

Click the javascript popup through webdriver

Python Webdriver Script: from selenium import webdriver browser = ...READ MORE

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

Why is Selenium InternetExplorerDriver very slow in debug mode (visual studio 2010 and IE9)

For me, the fix was to switch ...READ MORE

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

How to Hover using Mouse in python using Webdriver

from selenium.webdriver.common.action_chains import ActionChains def hover(self): ...READ MORE

Aug 8, 2018 in Selenium by Meci Matt
• 9,460 points
2,781 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
26,658 views
0 votes
1 answer

How to Call a Class From another class?

Suppose you have two classes: Class1: public class Class1 ...READ MORE

Aug 8, 2018 in Selenium by Meci Matt
• 9,460 points
54,162 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
9,208 views
0 votes
1 answer

Wait until page loads before click() using Selenium Webdriver

Change the following guestlogin_button = wait.until(EC.visibility_of_element_located((By.id, ".ch4_loginGuestBtn"))) to guestlogin_button = ...READ MORE

Aug 8, 2018 in Selenium by Samarpit
• 5,910 points
4,776 views
0 votes
1 answer

How to replace remote resources with local resource in a page with Selenium?

You could change URL for that script ...READ MORE

Aug 8, 2018 in Selenium by Samarpit
• 5,910 points
5,466 views
0 votes
1 answer

Browser compatibility with selenium for testing forms

To use the old Selenium IDE you need Firefox ...READ MORE

Aug 6, 2018 in Selenium by Samarpit
• 5,910 points
1,057 views
0 votes
1 answer

Getting android.webkit.WebView contents as a String using Appium

Below will help you: public final String WEBVIEW ...READ MORE

Aug 6, 2018 in Selenium by Samarpit
• 5,910 points
3,421 views
0 votes
1 answer

Preserving date modified when retrieving file using Apache FTPClient

Below will help you: public boolean retrieveFile(String path, ...READ MORE

Aug 3, 2018 in Selenium by Samarpit
• 5,910 points
1,642 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,910 points
6,910 views
0 votes
3 answers

How to set Page Load Timeout using C# using Selenium WebDriver

driver.Manage().Timeouts().PageLoad = TimeSpan.FromSeconds(15); READ MORE

Apr 17, 2019 in Selenium by Tim Muir
11,464 views
0 votes
1 answer

Read a dynamic value using Selenium

You can use the following line of ...READ MORE

Aug 2, 2018 in Selenium by Samarpit
• 5,910 points
6,319 views
0 votes
1 answer

How to get list of tests from Test Explorer in VS

Select all tests in Test Explorer and ...READ MORE

Aug 1, 2018 in Selenium by Samarpit
• 5,910 points
3,292 views
0 votes
1 answer

Error message in Protractor while using “webdriver-manager update” command

Add proxy for your network webdriver-manager update --proxy ...READ MORE

Aug 1, 2018 in Selenium by Samarpit
• 5,910 points
3,691 views
0 votes
1 answer

Python Selenium: Can't enter a webpage using my script

CAPTCHA is used to stop website automation ...READ MORE

Jul 31, 2018 in Selenium by Samarpit
• 5,910 points
2,883 views