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

Headless and Proxy authentication Selenium Python

I'm looking for a way to make proxies work with authentication and headless. I tried this: import os import zipfile PROXY_HOST = 'ooooo.com' # rotating proxy or host PROXY_PORT = 12345 # port PROXY_USER = 'User_Proxy' # username PROXY_PASS =…
3
votes
1 answer

How to change the Google Chrome UserAgent using the ChromeDriver installed through webdriver_manager

I recently had an issue where I couldn't change my user-agent in selenium. I got that fixed but then had a chrome driver issue where it required chrome driver version 81. I got that fixed but don't know how to implement the user-agent solution into…
3
votes
2 answers

HotJar suspicious UserAgent error, nothing on google, Trying to run a python scraper tool for sports odds tracking

c:\Users\Administrator\Downloads\cloudbet(2).py:47: DeprecationWarning: use options instead of chrome_options driver = webdriver.Chrome(chrome_options=chrome_options, executable_path=r"C:\Python\Python38\Scripts\chromedriver.exe") DevTools…
3
votes
1 answer

ChromeDriver Unable to add Performance Logging in Selenium Java

I have looked at the web search results and answers on stackoverflow on this topic but I couldn't find anyone having same issue. Following is code to enable performance logging that I am using: ChromeOptions options = new ChromeOptions(); …
sohail
  • 589
  • 1
  • 11
  • 26
3
votes
1 answer

Scraping specific tag html with it using BeautifulSoup and selenium

I have a duty to scrape certain data tags in html, I stack up to here. this is my code : I want output like this: http://www.sharecsv.com/s/9fd1d7ae78a6a9ffdc06f0b2dd33e9c7/Doaj.csv Help me please
3
votes
1 answer

Chromedriver does not respond on Centos 7

Hi in a headless centos 7 I am trying to getting work headless selenium tests. To do that I Installed google-chrome, chromedriver and selenium pip package but I have no success here is what I have done. google-chrome version: yum list installed…
erondem
  • 482
  • 1
  • 11
  • 24
3
votes
0 answers

Is it possible to intercept websocket traffic in selenium?

Can I capture WebSocket data that is sent while I'm running my selenium tests? I tried using this library but had no luck. I'm also using python 3.x and the chromedriver as a reference.
kostberg
  • 113
  • 1
  • 6
3
votes
1 answer

"NoSuchSessionError: This driver instance does not have a valid session ID" when running a simple Selenium Runner test

I just installed the latest version of Selenium Runner npm install -g selenium-side-runner on my Mac High Sierra. I'm running node v14.1.0. I'm using Chrome Driver v 83. I want to run a very simple file that simply opens a page, waiting for an…
Dave
  • 15,639
  • 133
  • 442
  • 830
3
votes
1 answer

Chrome Version mismatch while running Azure Pipeline

I have added a Selenium Project into the Azure pipeline as a maven task. But while running the same pipeline I am getting an error messaged 'Chrome version and chromedriver version is mismatching'. What should I do to overcome this ?? How to know…
3
votes
2 answers

How to ignore one element using selenium (python)?

Im trying to build little helper for my work, which simulates human behaviour on the website via selenium. My code works just fine, but one element on the website takes around 90 seconds to load and always fails to load. All I need on that…
3
votes
1 answer

Can not download a file with python selenium and chromedriver on linux OS

I am trying to download a file using Selenium with chromedriver and python3. My code works perfectly with Windows OS, but when I try to execute the same code on amazon EC2, everythings fine, no erros, all elements are found but no file downloaded in…
yannick
  • 51
  • 3
3
votes
0 answers

How to move chromedriver from download folder to /usr/local/bin?

How to move chromedriver from download folder to /usr/local/bin, when it said "permission denied" at the Terminal? I am using Mac.
Xiaoyayayya
  • 45
  • 1
  • 6
3
votes
0 answers

Chromedriver does not store the cookie when running Laravel Dusk

I am writing E2E tests using Laravel Dusk and have encountered a problem that my session starts again on each request. Digging deaper I have found that Chromedriver is not storing any cookies at all, so the user does not have a session as he cant…
naneri
  • 3,771
  • 2
  • 29
  • 53
3
votes
3 answers

How to get current scroll height in selenium python

I want to get current scroll height in selenium python Such as if i have scrolled in the middle of stack overflow, so i want the current scroll height in using selenium in python Thanks I have tried this height = browser.execute_script("return…
3
votes
1 answer

selenium.common.exceptions.WebDriverException: Message: Service chromedriver unexpectedly exited. Status code was: 1

I'm new to Python programming, currently learning Selenium so please excuse what may very well be a beginner level question. I installed Selenium using Homebrew, then i tried to execute this on my terminal. from selenium import webdriver…