Latest questions in Selenium

0 votes
1 answer

How to switch between two windows in browser using Selenium java

Yes, this is possible. First, you need ...READ MORE

Sep 25, 2018 in Selenium by Meci Matt
• 9,460 points
15,676 views
0 votes
1 answer

Can Selenium webdriver attach to already open browser window?

Nope, it can't be done. It's one ...READ MORE

Sep 25, 2018 in Selenium by Meci Matt
• 9,460 points
5,169 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,460 points
4,496 views
0 votes
1 answer

Scrolling down a page with Selenium Webdriver

You can perform this action easily using ...READ MORE

Sep 25, 2018 in Selenium by Meci Matt
• 9,460 points
4,969 views
0 votes
1 answer

Make sure that browser opened by webdriver is always in focus

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

Sep 24, 2018 in Selenium by Meci Matt
• 9,460 points
5,462 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,460 points
2,230 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
• 13,190 points
712 views
+3 votes
1 answer

How Selenium capture webpage errors?

Selenium capture webpage errors by url verification. Step ...READ MORE

Oct 30, 2018 in Selenium by martint
669 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,460 points
1,344 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,910 points
1,113 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,374 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 19, 2018 in Selenium by Meci Matt
• 9,460 points
1,768 views
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,460 points
3,498 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,460 points
1,559 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,320 points
1,801 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,320 points
1,748 views
0 votes
2 answers

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

String pageTitlte=driver.getTitle(); READ MORE

Sep 6, 2020 in Selenium by Sri
• 3,190 points
2,188 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,320 points
2,016 views
+4 votes
2 answers

gmail using selenium driver in eclipse

@letslearn, it seems like you have tried ...READ MORE

Sep 11, 2018 in Selenium by Vardhan
• 13,190 points
1,242 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 20,162 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
1,529 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,444 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
10,354 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,143 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
6,103 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,090 points
470 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
1,714 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
• 13,190 points
1,721 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,705 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
4,632 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
541 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
3,999 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
835 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
8,969 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,557 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,130 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
12,350 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
3,984 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
6,137 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,480 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
4,982 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
5,335 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
6,142 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
4,223 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
531 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
2,712 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,240 points
1,333 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,910 points
101,713 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,477 views
+1 vote
1 answer

Angular JS: Selenium cannot click a button by python code on mac

You can try clicking it with javascript ...READ MORE

Aug 9, 2018 in Selenium by Samarpit
• 5,910 points
4,840 views