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
57
votes
6 answers

How can I bypass the Google CAPTCHA with Selenium and Python?

How can I bypass the Google CAPTCHA using Selenium and Python? When I try to scrape something, Google give me a CAPTCHA. Can I bypass the Google CAPTCHA with Selenium Python? As an example, it's Google reCAPTCHA. You can see this CAPTCHA via this…
user11960891
57
votes
13 answers

WebDriverException: Message: Service chromedriver unexpectedly exited. Status code was: 127

I'd like to construct my crawler using selenium on my server. Thus I had installed/download required dependencies- such as chromedriver, chromium-browser etc on my Ubuntu17.10 server However, when I run following code: driver =…
57
votes
11 answers

Unknown error: Chrome failed to start: exited abnormally

I am getting this error when I run my tests with Selenium using chromedriver. selenium.common.exceptions.WebDriverException: Message: unknown error: Chrome failed to start: exited abnormally (Driver info: chromedriver=2.9.248316,platform=Linux…
Saheb
  • 1,666
  • 3
  • 18
  • 24
55
votes
6 answers

Where to find 64 bit version of chromedriver.exe for Selenium WebDriver?

Can anybody tell where I can find 64 bit version of chromedriver.exe? I tried it with 32bit also but it doesn't call main method.
marck
  • 681
  • 1
  • 6
  • 12
55
votes
10 answers

getText() method of selenium chrome driver sometimes returns an empty string

I have a curious case where the selenium chrome driver getText() method (java) returns an empty string for some elements, even though it returns a non-empty string for other elements with the same xpath. Here is a bit of the page.
JackhammersForWeeks
  • 955
  • 1
  • 9
  • 21
54
votes
13 answers

Selenium Google Login Block

I have a problem with Google login. I want to login to my account but Google says that automation drivers are not allowed to log in. I am looking for a solution. Is it possible to get a cookie of normal Firefox/Chrome and load it into the…
54
votes
3 answers

"Error while loading shared libraries: libnss3.so" while running Gtlab CI job to perform automated testing using webdriverio

I'm setting up the CI job for automated testing in selenium inside Gitlab CI, but the test is failing due to the issue. 019-09-27T11:03:17.404Z INFO @wdio/cli:Launcher: Run onPrepare…
shaurya
  • 581
  • 1
  • 4
  • 8
54
votes
10 answers

Using chromedriver with selenium/python/ubuntu

I am trying to execute some tests using chromedriver and have tried using the following methods to start chromedriver. driver = webdriver.Chrome('/usr/local/bin/chromedriver') and driver =…
Saheb
  • 1,666
  • 3
  • 18
  • 24
54
votes
9 answers

Selenium Webdriver in Python - files download directory change in Chrome preferences

I'm using Selenium Webdriver (in Python) to automate the downloading of thousands of files. I want to set Chrome's download folder programmatically. After reading this, I tried this: chromepath =…
Parzival
  • 2,004
  • 4
  • 33
  • 47
53
votes
5 answers

How to start ChromeDriver in headless mode

I want to try out headless chrome, but I am running into this issue, that I can't start the driver in headless mode. I was following google documentation. am I missing something ? The code execution gets stuck in var browser = new ChromeDriver();…
Evaldas B
  • 2,464
  • 3
  • 17
  • 25
52
votes
6 answers

Passthrough is not supported, GL is disabled

I tried crawling a specific site using selenium and webdriver_manager.chrome, and my code crawled elements of that site totally. But after crawling, the following error message appears in the console window. ERROR:gpu_init.cc(426) Passthrough is not…
50
votes
3 answers

How to set "value" to input web element using selenium?

I have element in my code that looks like this: I want to set its value, so I created a web element with it's xpath: val test =…
Joe
  • 2,543
  • 3
  • 25
  • 49
49
votes
22 answers

'Webdrivers' executable may have wrong permissions. Please see https://sites.google.com/a/chromium.org/chromedriver/home

I've looked around checked both documentations and have found no answer. I've been trying to use InstaPy a instagram api for python. After failing with multiple errors and assuming InstaPy is just having some issues so i tried to raw code it using…
48
votes
4 answers

Timed out receiving message from renderer: 0.100 log messages using ChromeDriver and Chrome v80 through Selenium Java

We recently upgraded our test environment with ChromeDriver v80.0.3987.16 and Chrome v80.0.3987.87 (Official Build) (64-bit) and after the upgradation even the minimal program is producing a lot of these SEVERE logs: [1581082019.282][SEVERE]: Timed…
46
votes
11 answers

WebDriverException: unknown error: cannot find Chrome binary error with Selenium in Python for older versions of Google Chrome

For compatibility reasons I prefer to use Chrome version 55.0.2883.75 with Chromedriver v. 2.26. I downloaded the older version of chrome from https://www.slimjet.com/chrome/google-chrome-old-version.php and Chromedriver 2.26 from…