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
23
votes
3 answers

Chrome not reachable Selenium WebDriver error

I am facing this issue; I know this question is already present and I have tried the solutions mentioned hence asking this with my configurations and code. Earlier the scripts were running but now they aren't So i tried making a basic open browser…
user
  • 287
  • 2
  • 3
  • 6
23
votes
7 answers

Chromedriver not deleting scoped* dir in temp folder after test is complete

With latest chromedriver.exe running into out of disk space issues as chromedriver is not deleting the folder named scoped_* at the end of the execution. It is occupying almost 20 GB of space for 400 tests. I tried with both 2.28 and 2.29 versions…
Karthi
  • 479
  • 2
  • 9
  • 21
23
votes
6 answers

Selenium/WebdriverIO Chrome headless?

Is it possible to do automated browser testing with Selenium/WebdriverIO using Chrome in headless mode? Supposedly Chrome --headless is a thing now, but I can't get their example working. I was hoping Selenium had an option for this? I'm…
mpen
  • 272,448
  • 266
  • 850
  • 1,236
23
votes
5 answers

Selenium 'WebElement' object has no attribute 'Get_Attribute'

I'm using Selenium webdriver (chrome) with Python, I'm trying to get the href from all the links on the webpage. When I try the following: items = driver.find_elements_by_tag_name("a") print items for item in items: href =…
Sapir
  • 263
  • 1
  • 2
  • 9
23
votes
2 answers

What does #document mean?

This is the HTML file I have. I am trying to use Selenium-Webdriver API along with ChromeDriver to send_keys to an input filed inside the . But I can't access anything which is inside of #document. I cannot figure out why. Can someone please…
deepng
  • 809
  • 2
  • 9
  • 20
23
votes
5 answers

Error: The path to the driver executable must be set by the webdriver.chrome.driver system property

I am trying node.js selenium web driver example... var webdriver = require('selenium-webdriver'); var driver = new webdriver.Builder(). usingServer('http://localhost:4444/wd/hub'). withCapabilities(webdriver.Capabilities.chrome()). …
Maxim Yefremov
  • 13,671
  • 27
  • 117
  • 166
22
votes
11 answers

selenium.common.exceptions.SessionNotCreatedException: Message: session not created: Chrome version must be between 70 and 73 with ChromeDriver

I am trying to create a webcrawler using Selenium, but I get this error when I try to create the webdriver object. selenium.common.exceptions.SessionNotCreatedException: Message: session not created: Chrome version must be between 70 and 73 (Driver…
22
votes
1 answer

Unable to use Selenium to automate Chase site login

When I try to log into the Chase website using Selenium (Python), I'm hit with the following error message: However, using "human" login works fine. It seems that when Selenium finds an element it triggers the issue. Am I missing something? I've…
jsmiao
  • 433
  • 1
  • 5
  • 13
22
votes
17 answers

Google chrome closes immediately after being launched with selenium

I am on Mac OS X using selenium with python 3.6.3. This code runs fine, opens google chrome and chrome stays open.: chrome_options = Options() chrome_options.binary_location="../Google Chrome" chrome_options.add_argument("disable-infobars"); driver…
Latin Bass
  • 221
  • 1
  • 2
  • 4
22
votes
2 answers

How to make chromedriver undetectable

This is my first Stack Overflow question so please bear with me. I have read this SO question, which lead me to wondering, is it possible to make chromedriver completely undetectable? For my own curiosity's sake I have tested the method described…
bryce
  • 479
  • 1
  • 6
  • 13
22
votes
5 answers

How do I solve "Server terminated early with status 127" when running node.js on Linux?

I’m using node 5.10.0 on this version of Linux [davea@mydevbox mydir]$ uname -a Linux mydevbox.mydomain.com 7.3.8-25.26.amzn1.x86_64 #1 SMP Wed Mar 16 17:15:34 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux I’m getting the below error when running my…
Dave
  • 15,639
  • 133
  • 442
  • 830
22
votes
3 answers

Node.js require without storing it into a variable

I have the following code snippet and it works in its context. "use strict"; require('chromedriver'); var selenium = require('selenium-webdriver'); var driver = new selenium.Builder() .forBrowser('chrome') .build(); What I don't understand is…
tool
  • 356
  • 2
  • 9
22
votes
1 answer

Selenium unexpectedly having issues

I have been using selenium now for a while on a number of projects. With code that was running I am now receiving the following error: C:\Users\%USER%\Miniconda\python.exe C:/Users/%USER%/PycharmProjects/c_r/quick_debug.py Traceback (most…
22
votes
0 answers

Unable to get browser console logs from a remote chrome browser

I am using python language bindings of selenium. The application under test is a WEBRTC application, which does write debug information to console logs of the browser. Need to get these log information when running the tests. I am able to get the…
22
votes
3 answers

Selenium chrome driver socks proxy configuration

I am having troubles in setting socks proxy for chrome driver Proxy proxy = new Proxy(); proxy.setProxyType(Proxy.ProxyType.MANUAL); proxy.setAutodetect(false); proxy.setSocksProxy(ProxyHelper.PROXY_HOST + ":" +…
skuzuc
  • 255
  • 1
  • 2
  • 6