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
36
votes
7 answers

How to set default download directory in selenium Chrome Capabilities?

Please find the below code with the chrome capabilities. In fact the browser is not downloading the file to the specified path. private static DesiredCapabilities getChromeCapabilities() throws Exception { String chromePath =…
vini007
  • 595
  • 1
  • 6
  • 13
36
votes
15 answers

Protractor + chrome driver: Element is not clickable at point

Hi I am having some trouble getting a basic protractor test to work. My setup: I use requirejs so I init angular using angular.bootstrap(), not the ng-app attr. According to protractor docs this is not supported out of the box, but seems to work…
twDuke
  • 927
  • 1
  • 8
  • 22
36
votes
11 answers

ChromeDriver - Disable developer mode extensions pop up on Selenium WebDriver automation

I'm having the following issue: When I'm running my automation tests, I keep getting the following alert "Disable Developer Mode Extension" in Chrome. Is there a way to remove/disable this?. It is a blocker for me as it is making me fail some…
elcharrua
  • 1,582
  • 6
  • 30
  • 50
35
votes
9 answers

Unable to hide "Chrome is being controlled by automated software" infobar within Chrome v76

After updating Chrome to version 76, I cannot figure out how to hide the "Chrome is being controlled by automated software..." notification overriding some controls on the page. The latest stable release of ChromeDriver is indeed 76.0.3809.68. The…
34
votes
4 answers

WebDriverError: disconnected: unable to connect to renderer

Meta - OS: OSX 10.12.6 (16G29) ~./node_modules/chromedriver/bin/chromedriver -v ChromeDriver 2.32.498537 (cb2f855cbc7b82e20387eaf9a43f6b99b6105061) ~ $ echo $JAVA_HOME /Library/Java/JavaVirtualMachines/jdk1.7/Contents/Home ~ $ node…
George Katsanos
  • 13,524
  • 16
  • 62
  • 98
33
votes
4 answers

Selenium missing or invalid 'entry.level' Error

I'm trying to run a selenium test which should work just fine (hasn't changed and used to work) but I'm getting this strange error. System.InvalidOperationException : unknown error: cannot determine loading status from unknown error: missing or…
ThinkBonobo
  • 15,487
  • 9
  • 65
  • 80
33
votes
3 answers

Selenium Chrome 60 Headless Handle Basic Authentication SAML Dialog over HTTPS

Chrome 59 removed support for https://user:password@example.com URLs. I have a C# selenium test that needs to work with Chrome Version 60 on Windows in 'headless' mode ChromeOptions options = new…
33
votes
8 answers

node.js complaining that "The ChromeDriver could not be found on the current PATH" even though chromedriver is on the path

I’m using node 5.10.0 on Linux. Having some issues running my script, which are displayed below [davea@mydevbox mydir]$ node SkyNet.js Validation Complete /home/davea/node_modules/selenium-webdriver/chrome.js:185 throw Error( ^ Error:…
Dave
  • 15,639
  • 133
  • 442
  • 830
32
votes
6 answers

ERROR:ssl_client_socket_openssl.cc(1158)] handshake failed with ChromeDriver Chrome browser and Selenium

When running my python selenium script with Chrome driver I get about three of the below error messages every time a page loads even though everything works fine. Is there a way to suppress these…
32
votes
9 answers

How to execute Selenium Chrome WebDriver in silent mode?

When using Chrome Selenium WebDriver, it will output diagnostic output when the servers are started: Started ChromeDriver (v2.0) on port 9515 I do not want to see these messages, how can I suppress them? I do this ChromeOptions options = new…
LeMoussel
  • 5,290
  • 12
  • 69
  • 122
31
votes
12 answers

How to scroll to element with Selenium WebDriver

How do I get Selenium WebDriver to scroll to a particular element to get it on the screen. I have tried a lot of different options but have had no luck. Does this not work in the C# bindings? I can make it jump to a particular location…
merrua
  • 575
  • 1
  • 4
  • 11
31
votes
10 answers

Unable to find the chromedriver executable

Unable to find the chromedriver executable. Please download the server from http://code.google.com/p/chromedriver/downloads/list and place it somewhere on your PATH. More info at http://code.google.com/p/selenium/wiki/ChromeDriver.…
30
votes
6 answers

How to get HTML code of a WebElement in Selenium

I am new at testing so my apologies in advance if my question sounds a bit primary. I am using Selenium and Java to write a test. I know that webElement.getAttribute("innerHTML"); brings me the innerHTML, for example for the element below:
30
votes
9 answers

How to use authenticated proxy in selenium chromedriver?

After searching for many hours I am starting to think this is impossible. I need to run Chrome through selenium using different authenticated (not public) proxy's for each run. PROXY_IP = "" UID = "" PWD = "
martin's
  • 3,853
  • 6
  • 32
  • 58
29
votes
12 answers

Selenium-chromedriver: Cannot construct KeyEvent from non-typeable key

I updated my Chrome and Chromedriver to the latest version yesterday, and since then I get the following error messages when running my Cucumber features: .... unknown error: Cannot construct KeyEvent from non-typeable key (Session info:…
user16390406