Latest questions in Selenium

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
5,960 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,020 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
2,795 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
1,733 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,227 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,201 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,676 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
50,744 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,026 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,215 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,916 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
580 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,713 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,094 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,806 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
9,371 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,407 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,346 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,971 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,137 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,032 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,193 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,003 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,154 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,929 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
673 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,530 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,160 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,961 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,670 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,783 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
662 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,918 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
459 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,243 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
812 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,574 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,227 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,627 views
0 votes
4 answers

Throwing error - org.openqa.selenium.SessionNotCreatedException: session not created exception

Updating the chrome driver and chrome browser ...READ MORE

Apr 12, 2020 in Selenium by Vamsi
24,365 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,681 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
970 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,262 views
0 votes
3 answers

How to click the search button using Selenium web driver and Python

You can try with tag. #this code will ...READ MORE

Apr 10, 2019 in Selenium by Matin
15,689 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,851 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
461 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,655 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,164 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,172 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,292 views