Most answered questions in Selenium

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,249 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,230 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
25,707 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
51,022 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
8,064 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,234 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
3,992 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
595 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
2,745 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,105 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
5,852 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
5,440 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
2,375 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
2,985 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,159 views
0 votes
1 answer

Error select.select_by_visible_text('Jan 2018')

Your import statement is incorrect. As of 3.9, ...READ MORE

Jul 31, 2018 in Selenium by Samarpit
• 5,910 points
3,061 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,460 points
7,226 views
0 votes
1 answer

How to avoid Compound Class name error in Page Object?

Use a CSS selector instead: .country.name CSS selector is ...READ MORE

Jul 31, 2018 in Selenium by Meci Matt
• 9,460 points
1,016 views
0 votes
1 answer

Run chrome browser in inconginto Mode in Selenium

One other way to launch Chrome in ...READ MORE

Jul 31, 2018 in Selenium by Meci Matt
• 9,460 points
33,221 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,460 points
10,949 views
0 votes
1 answer

Fails to open a link in Python using Selenium Webdriver

Try resetting value of y. Put y="" ...READ MORE

Jul 30, 2018 in Selenium by Samarpit
• 5,910 points
684 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,910 points
7,546 views
+1 vote
1 answer

Auto suggest text box in selenium webdriver

You must enter a value to suggest ...READ MORE

Jul 27, 2018 in Selenium by Samarpit
• 5,910 points
8,178 views
0 votes
1 answer

“NoSuchElementException” using Selenium Webdriver

When you obtain the xpath from object repository ensure ...READ MORE

Jul 27, 2018 in Selenium by Samarpit
• 5,910 points
6,978 views
0 votes
1 answer

Can selenium handle autocomplete?

The type command may not be enough ...READ MORE

Jul 26, 2018 in Selenium by Meci Matt
• 9,460 points
1,682 views
0 votes
1 answer

I wanted to know if there a good IE-based Selenium IDE?

Selenium does not have an IDE for ...READ MORE

Jul 26, 2018 in Selenium by Meci Matt
• 9,460 points
1,795 views
0 votes
1 answer

How to locate class using enums in base class?

Define getters in PageClass like getDefaultFunctionality(), getConstrainMovement() etc. and then redesign ...READ MORE

Jul 26, 2018 in Selenium by Samarpit
• 5,910 points
684 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,910 points
6,944 views
0 votes
1 answer

Fail to connect to internet : Firefox 53 launched with gecko 0.16.1

Below code will help you: FirefoxProfile profile = ...READ MORE

Jul 25, 2018 in Selenium by Samarpit
• 5,910 points
469 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,910 points
6,260 views
0 votes
1 answer

Google search input text box

It seems you tried incorrect id. Please ...READ MORE

Jul 24, 2018 in Selenium by Samarpit
• 5,910 points
834 views
0 votes
1 answer

Selenium WebDriver: naukri.com login fails every time

Use the following code after driver.get(URL), String URL1="https://www.naukri.com/nlogin/login"; String ...READ MORE

Jul 24, 2018 in Selenium by Samarpit
• 5,910 points
2,601 views
0 votes
1 answer

GUI with pyqt5 QLineEdit using Web driver Script

For a QLineEdit you use the your ...READ MORE

Jul 23, 2018 in Selenium by Samarpit
• 5,910 points
1,237 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,910 points
11,662 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,910 points
9,708 views
0 votes
1 answer

Setting browser width and height in Selenium Web Driver

For me, the only thing that worked ...READ MORE

Jul 19, 2018 in Selenium by Meci Matt
• 9,460 points
983 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,910 points
10,283 views
0 votes
1 answer

isDisplayed Error: No element found using locator instead of boolean

You should check whether an element is ...READ MORE

Jul 18, 2018 in Selenium by Samarpit
• 5,910 points
1,871 views
0 votes
1 answer

Popup messages using Selenium Web Driver

Try to get text From Pop Up: String ...READ MORE

Jul 18, 2018 in Selenium by Samarpit
• 5,910 points
476 views
0 votes
1 answer

What is the difference between running Protractor with and without Selenium WebDriver?

If directConnect is true then it will ...READ MORE

Jul 17, 2018 in Selenium by Meci Matt
• 9,460 points
4,672 views
0 votes
1 answer

How to run Selenium scripts with JMeter

You can run the tests from Jmeter ...READ MORE

Jul 17, 2018 in Selenium by Samarpit
• 5,910 points
2,176 views
0 votes
1 answer

Not able to login using selenium webdriver using Java Language

Try to send text to the username ...READ MORE

Jul 17, 2018 in Selenium by Samarpit
• 5,910 points
2,192 views
0 votes
1 answer

Xpath not working in firefox but working fine in chrome

Try to search above xpath in chrome ...READ MORE

Jul 17, 2018 in Selenium by Samarpit
• 5,910 points
3,316 views
0 votes
1 answer

How to execute browser less testing in Selenium

First, you need to install:-  install PhantomJS. After that ...READ MORE

Jul 16, 2018 in Selenium by Meci Matt
• 9,460 points
1,066 views
0 votes
1 answer

Headless gecko driver using Selenium

Try the below steps. It works for ...READ MORE

Jul 13, 2018 in Selenium by Samarpit
• 5,910 points
4,227 views
0 votes
1 answer

Login window session expiry using Selenium

The details you can find in below ...READ MORE

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

Screenshot with Selenium WebDriver

Try the below code: import java.io.File; import org.openqa.selenium.OutputType; import org.openqa.selenium.TakesScreenshot; import ...READ MORE

Jul 13, 2018 in Selenium by Samarpit
• 5,910 points
4,342 views
0 votes
1 answer

Selecting xpath for with multiple conditions using Selenium and Python

Use the XPath in either of the following ways ...READ MORE

Jul 13, 2018 in Selenium by Samarpit
• 5,910 points
29,062 views
0 votes
1 answer

Taking Screenshot using Selenium WebDriver

Using driver.save_screenshot('/path/to/file') we will be able to ...READ MORE

Jul 12, 2018 in Selenium by Meci Matt
• 9,460 points
1,238 views
0 votes
1 answer

Why to use WebDriver instead of Selenium IDE?

Selenium IDE is a Record and Playback ...READ MORE

Jul 11, 2018 in Selenium by Meci Matt
• 9,460 points
829 views