selenium-webdriver Questions

2

I am trying to execute a basic program using Selenium 4.8.0 Python clients in headless mode: from selenium import webdriver from selenium.webdriver.chrome.options import Options from selenium.webdr...

5

I want to check the color of an element in an html page. The color of this element is set with a javascript, look at the image The element with div-id "Ab_banco_M1T1_switch" can assume 4 values,...
Conceptualize asked 22/4, 2014 at 13:8

1

Solved

My code worked perfectly until yesterday when I updated Google Chrome to version 110.0.5481.77. Now it's not working in headless mode: options.add_argument("--headless") I even tried add...

9

Solved

I am unable to switch to Modal Dialog of given example http://samples.msdn.microsoft.com/workshop/samples/author/dhtml/refs/showModalDialog2.htm I don't know how to get element on modal Dialog ...
Staal asked 18/12, 2012 at 15:26

5

Solved

I am not able to completely delete a project, because the chromedriver instance is running in the background, even when there is no code is being executed. Please see the below image. The error I ...

18

Solved

I am implementing a lot of Selenium tests using Java - sometimes, my tests fail due to a StaleElementReferenceException. Could you suggest some approaches to making the tests more stable?
Staggers asked 19/10, 2012 at 4:45

4

I have a Selenium Python test suite. It starts to run but after a few mins the following error is thrown: Exception AttributeError: "'Service' object has no attribute 'process'" in <bound metho...
Aborticide asked 3/5, 2016 at 12:48

11

Solved

I'm trying to select an item from a drop down menu using Capybara (2.1.0). I want to select by number (meaning select the second, third, etc option). I've Googled like crazy trying all sorts of t...
Frond asked 21/11, 2013 at 23:28

2

I am trying to execute a basic Selenium Java program: public static void main(String[] args) { System.setProperty("webdriver.chrome.driver", "C:\\BrowserDrivers\\chromedriver.exe&qu...

5

I have some tests which click on a tab, however the click is not always performed. The xpath is correct as most of the times the test works It is not a timing issue as I ve used thread.sleep() a...
Fishbowl asked 30/7, 2015 at 13:22

1

My project requires certain cookies to access the application. For Firefox Driver i am using firefox profile (profile of ff which i use for manual tetsing as it has all cookies i want) to run the s...
Nuriel asked 8/3, 2013 at 12:42

3

I am using Selenium and Java to write a test for Chrome browser. My problem is that somewhere in my test, I download something and it covers a web element. I need to close that download bar (I cann...
Marjana asked 12/1, 2017 at 17:51

5

Solved

Why am I getting errors when trying to get the driver to click on the reCAPTCHA button? This is the site where I am trying to get it to work: https://rsps100.com/vote/760/ This is my current code s...
Mephitis asked 20/3, 2019 at 15:15

5

I'm trying to invoke a firefox browser using Selenium webdriver from below python code.. from selenium import webdriver # Initializing the WebDriver for Firefox browser driver = webdriver.Firefo...
Stapleton asked 19/4, 2018 at 20:6

1

I need to connect to a proxy server with a user name and password (i.e USERNAME:PASSWD@IP:PORT) with chromedriver webdriver in selenium 2 in java. I've found how to do it without using a user name ...
Sonora asked 20/8, 2012 at 7:50

8

Solved

I'm having issues with scrolling to the top of the web page when using Python and Selenium. When the page loads for some reason you are taken to the bottom of the page (this is due to be fixed). ...
Restorative asked 8/8, 2017 at 19:50

6

Solved

I am trying to understand why it gives an error while I am trying to display items that took from websites. I am also using google chrome for a browser. chromeDriver.Navigate().GoToUrl("somewebsit...
Xylograph asked 9/7, 2017 at 23:31

6

Solved

I am running chromedriver to try and scrape some data off of a website. Everything works fine without the headless option. However, when I add the option the webdriver takes a very long time to loa...
Vigilantism asked 4/6, 2019 at 1:2

4

Solved

I have been using selenium chromedriver in google colab for a while. Today I start my work, I get the error never got before. I'm wondering if this error is related to the chromedriver version. Th...

6

Solved

With "HTML" Selenium tests (created with Selenium IDE or manually), you can use some very handy commands like WaitForElementPresent or WaitForVisible. <tr> <td>waitForElementPresent&l...
Medora asked 7/6, 2012 at 23:19

4

Solved

I'm getting the following error when I try to open the EdgeDriver. OpenQA.Selenium.WebDriverException: 'Cannot start the driver service on http://localhost:20548/' The FirefoxDriver and ChromeD...
Birdwell asked 3/6, 2019 at 23:27

1

I'm trying to run my selenium test with selenium server standalone but getting this exception even I already update chromedriver.exe to the last version 108 org.openqa.selenium.SessionNotCreatedExc...

5

I am following this build of a scraper for LinkedIn job data. Here is my code: from selenium import webdriver import time import pandas as pd url = 'https://www.linkedin.com/jobs/search?keywords=&...
Reg asked 4/7, 2022 at 8:56

1

I am trying to do what the title says, using Python's Selenium Webdriver, with an existing Firefox profile living in <PROFILE-DIR>. What I've tried used the options.profile option on the dri...
Glace asked 13/5, 2021 at 1:56

6

I'm running the latest version of Selenium WebDriver with Geckodriver. I want to prevent Selenium from creating temporary Firefox Profiles in the temporary files directory when launching a new inst...
Sparkman asked 16/5, 2021 at 20:53

© 2022 - 2024 — McMap. All rights reserved.