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,958 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,019 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,788 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,726 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,224 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,196 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,669 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,716 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,020 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,903 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,710 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,093 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,802 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,345 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,406 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,345 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,134 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,023 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,189 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
999 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,149 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,923 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
669 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,527 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,152 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,781 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
661 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,915 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
456 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,240 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
811 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,572 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,225 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,623 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,345 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,680 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,259 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,684 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,653 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,161 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,170 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,288 views