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,662 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,159 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,486 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,953 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,443 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,217 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
702 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
656 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,335 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,108 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,355 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,762 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,488 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,553 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,785 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,733 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,168 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,007 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,222 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,121 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,519 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,431 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,334 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,115 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,075 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
466 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,695 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,707 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,684 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,620 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
535 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,991 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
819 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,938 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,522 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,120 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,329 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,973 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,128 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,472 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,962 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,313 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,120 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,204 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
525 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,688 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,325 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,617 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,470 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,817 views