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
3
votes
1 answer

SessionNotCreatedException: Message: session not created from disconnected: unable to connect to renderer using Chromedriver on Linux Centos 7 Server

I am trying to use headless chrome on a Linux Centos 7 server with selenium and python. I am getting the following error when trying to activate the driver: Traceback (most recent call last): File "send_notif_marktplaats.py", line 128, in…
3
votes
2 answers

ChromeDriver v80 doesn't work even though Chrome version is matched (Chrome v80)

chromedriver.exe file is in the folder it works. the version is 80.0.3987.116. also the chrome's version is 80.0.3987.116. driver = webdriver.Chrome() this doesn't work. with that error message. WebDriverException: Message: unknown error:…
3
votes
0 answers

Ways to solve google's recaptcha under headless chrome webdriver through selenium? Java

Hi I was wondering if there was a way for a user to manually solve google's recaptcha under a headless chrome webdriver mainly through selenium but I am open to any other solution.
3
votes
2 answers

Changing the focus of the window on Capybara

Writing some tests I had to click on a link that leads to another tab then I needed to click on another link, that last step isn't working (Unable to find link "Example" (Capybara::ElementNotFound)). Should I need to change focus to the new tab…
3
votes
1 answer

Unable to send date as text to datepicker field using send_keys when max attribute is set using ChromeDriver and Selenium

I am trying to use chromedriver to download some files. I have switched to chromedriver because in firefox the link I need to click opens a new window and the download dialog box appears even after all the required settings and I wasn't able to get…
Sid
  • 3,749
  • 7
  • 29
  • 62
3
votes
2 answers

Chrome browsing windows stays open even after session failed with WebDriverException

I am using selenium 3.141.59 with chrome 79 and chromedriver 79. Randomly I am getting an exception from RemoteWebDriver.get(url); and that session removing from the selenium server. But the Chrome window stays open. Because of that, I am not able…
3
votes
2 answers

Cannot get HTTP Response Body from Network Logs - Selenium

In Selenium using Java, with Chromedriver i am trying to get the response body of one particular HTTPS Request. I am using LogEntries, but i get all information from the logs, except the Response Body. Is there any way to get the Response Body? …
3
votes
1 answer

How to install Chrome Extension using Selenium & Python

Hello I'm trying to install a Chrome extension with Selenium using python, I tried using ChromeDriver - WebDriver for Chrome But it is not working, this is my code: from selenium import webdriver from selenium.webdriver import Chrome from…
3
votes
2 answers

Cucumber and WebDriver, opening chrome when it is not necessary

I'm starting with cucumber, following some tutorials and such. I have two feature files, one with basic stuff you see on cucumber's "get started", another one from WebDriver's "get started". The tests run successfully, but cucumber opens the…
res
  • 775
  • 8
  • 16
3
votes
1 answer

AWS Lambda Python 3.7 Web Scraping - "Could not get version for Chrome with this command: google-chrome --version"

Via an S3 bucket, I've uploaded a lambda function along with its dependencies as a ZIP file. The lambda function is a web scraper with the following initial code to get the scraper started: import json import os import pymysql import boto3 from…
3
votes
2 answers

Unable to scroll some element into view while using pseudo selector within driver.execute_script()

I've created a script using selenium to grab a text generating dynamically. It is a requirement that I use selenium, so I don't wanna go for xhr in this very case. I'm trying to use pseudo selector in selenium defining explicit wait within it. As…
MITHU
  • 113
  • 3
  • 12
  • 41
3
votes
2 answers

Selenium run on alpine 3.6 container

I'm trying to run Selenium on alpine 3.6 container (FROM alpine:3.6). What I'm trying in container shell: apk update apk add python3 pip3 install -U selenium apk add chromium apk add chromium-driver And running the following python (using…
Evyatar
  • 1,107
  • 2
  • 13
  • 36
3
votes
3 answers

Chrome works in headless mode on linux Server but shows "DevToolsActivePort file doesn't exist" error in gui mode through Selenium and Python

selenium code to automate on chrome browser. chrome version: 79.0.3945.117 (same for local and server machine) chrome driver: tried all latest & below till chrome version driver. Execution Status - On Local machine: Works fine in headless and…
3
votes
1 answer

learn version of chrome browser via python

I am writing a script by using selenium. My problem is when the chrome has been automatically updated, my script is not working. So, my solution is learning the web chrome version (not driver) at the beginning and run the related chrome driver. So…
3
votes
1 answer

How to hide the chromedriver.exe console window in C#?

I am writing a two programs using C# and I am using this references, installed throught NuGet in both: