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

Python Selenium - Can't Click on Button

All I am trying to do is select the drop down & then select "Export Excel Spread Sheet". Example of Drop Down Code: from selenium import webdriver from selenium.webdriver.common.action_chains import ActionChains from selenium.webdriver.support.ui…
3
votes
2 answers

How to set path to chromedriver in Google Cloud Composer

I am attempting to run a DAG that will use selenium to scrape a web page every week on Cloud Composer. I have already tried to give the path when creating the WebDriver.Chrome() instance to a driver that I uploaded to GCS, though I imagine this is…
3
votes
1 answer

Selenium in kubernetes - Only local connections are allowed

I am trying to run an application which runs Selenium in order to take some screenshots. When I am running the application in a docker compose file it all works fine, however, when I try to run in in a kubernetes cluster in the cloud I keep on…
3
votes
1 answer

Selenium doesnt start chrome in headless mode, no matter what I do

im using nodejs version 8.11.3 and npm version 6.9.0 along with chrome version 75.0.3770.90 (the latest). Im trying to use selenium to open a headless chrome. But the issue is that no matter what I try it just doesnt work. Im using Windows 10…
3
votes
1 answer

Unable to handle Microsoft login authentication popup in headless chrome[Selenium using java]

I am automating the web application to run in Headless Chrome. ChromeDriver Version:- ChromeDriver 74.0.3729.6 Application Login screen has windows popup to enter username and password. I used alerts to handle the popup in normal…
3
votes
1 answer

AutoSelectCertificateForUrls for Chrome works ONLY in non-headless mode

I am auto-selecting a certificate for Chrome on MacOS using the following preference file:
3
votes
1 answer

Java and Selenium: Static methods in Page Objects

I'm having trouble with NullPointerExceptions when I try using static methods in a page object. If I do it with non-static methods, it works fine. Non-static version: public class ComplaintPage { private ExtendedWebDriver driver; …
user9347168
3
votes
0 answers

python selenium - chromedriver change proxy in one session

I'm using the following code to set a proxy for chromedriver: from selenium.webdriver.chrome.options import Options as options ops = options() ops.add_argument('--proxy-server=PROXY:PORT') browser1 = selenium.webdriver.Chrome(service_log_path='NUL',…
Rhys
  • 4,926
  • 14
  • 41
  • 64
3
votes
1 answer

The process started from chrome location /usr/bin/google-chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed for Selenium

I’m running a jupyter notebook on ubuntu server. I’m trying run the selenium code below using chromedriver. I’m getting the error below but if I run the line of code below in Ubuntu terminal it returns the output below. Does anyone know what the…
3
votes
1 answer

SSL Error on RSpec system tests in dockerized Rails 5 app with selenium/standalone-chrome

Coming from Rails 3 and having never used Capybara/Selenium I am now running a Rails 5 application in docker and want to use the "updated" way of writing tests, i.e. using system, request and model specs rather than controller specs. I've added…
3
votes
6 answers

How can I check if an element exists on a page using Selenium XPath?

I'm writing a script in to do some webscraping on my Firebase for a few select users. After accessing the events page for a user, I want to check for the condition that no events have been logged by that user first. For this, I am using Selenium and…
3
votes
2 answers

Issue in taking screenshot in selenium while using chromedriver 73 for chrome version 73

When i tried to take screenshot of a webpage using selenium in python, i get error message selenium.common.exceptions.TimeoutException: Message: timeout: Timed out receiving message from renderer: 10.000. Code: from selenium import webdriver from…
3
votes
3 answers

How to retrieve table from dynamic website python selenium

I want to retrieve all the information from a table on a dynamic website and I have the following code for it: from selenium import webdriver from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import…
3
votes
1 answer

Chromedriver on Heroku/Rails: Unable to load application: Selenium::WebDriver::Error::WebDriverError: not a file: "/usr/local/bin/chromedriver"

I'm getting the error above when trying to run Selenium on Heroku, RoR app. I've added the buildpacks heroku-buildpack-google-chrome and heroku-buildpack-chromedriver Then added the config…
3
votes
3 answers

How many Selenium driven automated browser can be initiated on a single computer at the same time

Can anyone help me to calculate how many Selenium driven automated browser can be initiated on a single computer at the same time? Note: If it matters, I am using ChromeDriver and Chrome for this purpose through C# Selenium bindings.