selenium-webdriver Questions

4

Solved

I want to select all content by pressing Ctrl+a from keyboard by using WebDriver with Java. I wrote the following code: Actions actionObj = new Actions(driver); actionObj.keyDown(Keys.CONTROL) .s...
Gasteropod asked 20/7, 2012 at 11:50

0

Firefox v103.0.2 (current) when initiated with latest GeckoDriver v0.31.0 and Selenium v4.4.0 crashes with NS_ERROR_UNKNOWN_HOST error as follows: selenium.common.exceptions.SessionNotCreatedExcept...

4

Solved

This is my solution, based on this question But it's not working, I need to change the default download directory for google chrome to C:\temp\ Thanks for the help. public class ChromeOptionsWith...
Horotelic asked 17/2, 2016 at 2:40

1

My Selenium Java test script runs on Firefox browser. Recently, it has started failing on applications where 'Enhanced Tracking Protection' is turned on. https://support.mozilla.org/en-US/kb/enhanc...
Bornholm asked 6/7, 2021 at 4:40

1

I am trying to read the PDF text from the PDF which is opened in the browser. After clicking on a button 'Print' the below URL opens up in the new tab. https://myappurl.com/employees/2Jb_rpRC710...
Christychristye asked 13/4, 2015 at 18:30

3

Solved

I'm automating with Selenium. I'm dealing with 2 variants (mobile, desktop) of a page. Both have a "Login" button, but the HTML is different. First variant: <div role="button&quo...
Scissors asked 3/8, 2022 at 19:16

7

Solved

driver.FindElement(By.Id("inputUsername")).SendKeys("aca"); driver.FindElement(By.Id("inputPassword")).SendKeys("123"); driver.FindElement(By.TagName("button")).Click(); SelectElement oSelect = ne...

4

All of the elements are dynamic. I can see only Placeholder which is unique from the following html:- <input id="ext-gen1617" type="text" size="20" class="x-form-field x-form-text x-for...
Hurleigh asked 20/12, 2013 at 5:46

7

Solved

Hope you are good I m trying to make an simple script but I got stuck on there I am trying to scroll the list to get more but i am unable to scroll down. Anybody have an idea how is that done. here...

12

I am new to Selenium. I just want to send keys to a username text box and send a tab key both at a time so that text box can check for availability of username. Here is the code: driver.findElem...
Limitation asked 9/10, 2013 at 9:50

3

Solved

The new version of Selenium doesn’t have any old methods, like .find_element_by_xpath(), but it introduced the new fabrique method .find_element(By.XPATH, searched_string). Here is the example from...
Vanhoose asked 20/7, 2022 at 18:57

8

Here is the error: selenium.common.exceptions.WebDriverException: Message: unknown error: cannot determine loading status from unknown error: unexpected command response (Session info: chrome=103....
Turbosupercharger asked 26/6, 2022 at 4:58

5

Solved

<ul> <li class="active"> <a href="#"> <i class="fa fa-home"></i><br> <span class="title">Home</span> </a> </li> <li> <a hr...
Afternoon asked 26/11, 2015 at 12:50

2

Solved

I am selecting a value from a drop down field in Selenium Python. I am getting the error: AttributeError: 'WebElement' object has no attribute 'select_by_visible_text' My method to select the dr...
Unrelenting asked 1/4, 2016 at 15:38

10

I'm just able to run my python selenium code when I run it as admin. If I run it normally I get following error: C:\startup>Python C:/startup/startupWebDriverScript.py Traceback (most recent c...

5

Solved

I am new to Selenium and need some trail to find root cause of the below error. Selenium version - 3.5.3 ChromeDriver version - 2.29.4 Chrome version - 63 org.openqa.selenium.WebDriverException...

36

Solved

How can I open a new tab in the existing Firefox browser using Selenium WebDriver (a.k.a. Selenium 2) in Java?
Lunseth asked 9/7, 2013 at 11:47

5

Solved

I tried setting the browser size on Chrome --headless by using Selenium WebDriver commands. I get this WebDriver error: - Failed: unknown error: cannot get automation extension from unknown error:...

3

Solved

Let's say, all Author/username elements in one webpage look like following... How can I get to the href part using python and Selenium? users = browser.find_elements_by_xpath(?) <span> Auth...
Minhminho asked 31/12, 2013 at 1:53

2

I keep getting a variety of WebDriver errors and then randomly it will run properly. How do i fix the error that is happening so that i can run the full version of what i am trying to do? The lates...

6

Solved

Currently, I have found that cucumber test suite runs the feature files alphabetically. Please let me know if there is any option/configuration that I might be missing. Thanks.
Blanche asked 5/8, 2016 at 5:22

6

I understand this question has been asked but I need some solution for this error: Traceback (most recent call last): File "goeventz_automation.py", line 405, in <module> if login(driver) ...

1

I am using below lines of code to verify broken links huc = (HttpURLConnection) (new URL(url).openConnection()); huc.setRequestMethod("HEAD"); huc.setReadTimeout(5000); huc.connect();...

7

Solved

I am checking whether or not a page appears using Selenium. When I click the page, however, a printer print prompt appears (like the window that says select printer and such). How can I have Seleni...
Ryley asked 14/4, 2016 at 18:53

8

I am having issues getting an instance of a Chrome browser from selenium in python. I'm using Windows 8. I have downloaded the chromedriver binary and added it to my path but I get the following er...

© 2022 - 2024 — McMap. All rights reserved.