Questions tagged [selenium-chromedriver]

Developed in collaboration with the Chromium team, ChromeDriver is a standalone server which implements WebDriver's wire protocol.

ChromeDriver is a standalone server which implements WebDriver's wire protocol.

The ChromeDriver consists of three separate pieces. There is the browser itself ("chrome"), the language bindings provided by the Selenium project ("the driver") and an executable downloaded from the Chromium project which acts as a bridge between "chrome" and the "driver". This executable is called "chromedriver".

ChromeDriver is available for Chrome on Android and Chrome on Desktop (Mac, Linux, Windows, and ChromeOS).

The ChromeDriver consists of three separate pieces. There is the browser itself ("chrome"), the language bindings provided by the Selenium project ("the driver") and an executable downloaded from the Chromium project which acts as a bridge between "chrome" and the "driver". This executable is called "chromedriver".

You can find the documentation for chromedrive here.

The latest version of chromedriver can be download from Google ChromeDriver's page.

You can find the necessary documentation for using chromedriver with Selenium on Selenium Wiki.

14388 questions
45
votes
12 answers

Failed to read descriptor from node connection: A device attached to the system is not functioning error using ChromeDriver Selenium on Windows OS

I got this while running the selenium webdriver script in python I also set the path in System Environment and also tried downloading the webdriver that matches with my chrome version. And also letest version also. But I still get this…
45
votes
14 answers

protractor/selenium "could not find chromedriver at" (on Windows)

I installed protractor following this tutorial and when i use webdriver-manager update it says: selenium standalone is up to date. chromedriver is up to date. thou when i try to run the protractor tests, it…
Andresch Serj
  • 35,217
  • 15
  • 59
  • 101
44
votes
2 answers

How does reCAPTCHA 3 know I'm using Selenium/chromedriver?

I'm curious how reCAPTCHA v3 works. Specifically the browser fingerprinting. When I launch an instance of Chrome through Selenium/chromedriver and test against reCAPTCHA 3 (https://recaptcha-demo.appspot.com/recaptcha-v3-request-scores.php) I always…
Mr J
  • 2,655
  • 4
  • 37
  • 58
43
votes
7 answers

How to suppress console error/warning/info messages when executing selenium python scripts using chrome canary

I am running python script (complete script link below) for selenium test using Chrome Canary. The test seems to be running fine, however, there are lots of error/warning/info messages displayed on the console. Is there a way to suppress these…
42
votes
3 answers

shared libraries libgconf-2.so.4 is missing

I want to install chromedriver in one of the AWS EC2 instance which is linux(Red Hat Enterprise Linux Server release 6.7 Santiago - 64 bit). While installing the chromedriver, we ran into issue due to missing packages. I could find the package here…
Pankaj
  • 3,512
  • 16
  • 49
  • 83
41
votes
17 answers

Chrome is being controlled by automated test software

I am running automated tests in Chrome with Serenity BDD (Selenium). I had to download a new ChromeDriver, because my tests could not run -> The test would open ChromeDriver but could not "Browse as user". When I googled the issue, they said I had…
40
votes
3 answers

Is there a version of Selenium WebDriver that is not detectable?

I am running the Chrome driver over Selenium on a Ubuntu server behind a residential proxy network. Yet, my Selenium is being detected. Is there a way to make the Chrome driver and Selenium 100% undetectable? I have been trying for so long I lost…
39
votes
10 answers

how to set proxy with authentication in selenium chromedriver python?

I am creating a script that crawls one website to gather some data but the problem is that they blocked me after too many requests but using a proxy I can send more request then currently I do. I have integrated proxy with chrome option…
itsmnthn
  • 1,898
  • 1
  • 18
  • 30
39
votes
6 answers

how does selenium webdriver upload files to the browser?

I am a javascript/java developer and I have been trying to figure out how the selenium webdriver automation framework uploads files from the file system. It is impossible to set a file input via javascript because it is a security violation. Yet…
38
votes
6 answers

Brew install chromedriver not working?

I am using MacOS, when I tried to install chromedriver using homebrew brew install chromedriver I get: Error: No available formula with the name "chromedriver" It was migrated from homebrew/core to caskroom/cask. You can access it again by…
Rocking chief
  • 1,039
  • 3
  • 17
  • 31
38
votes
9 answers

Chrome Driver Error using Selenium: Unable to Discover Open Pages

I'm getting a Chrome Driver related error when running my Selenium tests. The error message is "Unable to Discover Open Pages." The Selenium tests were all running fine until last evening. The problem seemed to begin after a reboot of the server the…
James Lawruk
  • 30,112
  • 19
  • 130
  • 137
37
votes
1 answer

How to fix selenium "DevToolsActivePort file doesn't exist" exception in Python

When I use both arguments --headless and user-data-dir. Selenium raise selenium.common.exceptions.WebDriverException: Message: unknown error: DevToolsActivePort file doesn't exist exception. If only 1 of them is used, then everything works as needs.…
vffuunnyy
  • 1,489
  • 1
  • 9
  • 12
37
votes
7 answers

selenium.common.exceptions.WebDriverException: Message: invalid session id using Selenium with ChromeDriver and Chrome through Python

I'm writing some code using Selenium, and at one point I make 7 requests, all to different websites. For the first one, this works fine. However, for others, I get a session ID error. I think that my browser is configured correctly, as I do get…
37
votes
12 answers

Only local connections are allowed Chrome and Selenium webdriver

I am using Chrome webdriver 2.23 & Selenium 2.53.1. I have tried a lot, but could not get it fixed. Whenever I run my selenium script, it is giving me the following error Starting ChromeDriver 2.23.409699 (49b0fa931cda1caad0ae15b7d1b68004acd05129)…
Sanwal Riaz
  • 371
  • 1
  • 3
  • 3
36
votes
4 answers

How to get the localStorage with Python and Selenium WebDriver

What's the equivalent of: driver.get_cookies() to get the LocalStorage instead of Сookies?