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

where to place the chromedriver in aws lambda

I am working in a web scraping project with python 3.7. Done the code in python with selenium and chromediver.exe in windows, it's working fine. we are adding the script in aws lambda. the issue is we need to specify the chrome driver of…
newuser
  • 61
  • 1
  • 10
3
votes
0 answers

Enable downloads in headless chrome with Selenium Grid

The only way that I've found to enable downloads in Headless Chrome is with the following code: var param = new Dictionary(); param.Add("behavior", "allow"); param.Add("downloadPath",…
Jack
  • 241
  • 2
  • 14
3
votes
0 answers

Retrieve XMLHttpRequest (XHR) response from webpage with Python

Is there a way to retrieve the XHR response data with Python or Selenium WebDriver? Right now I can only view the XHR response data through the 'Network' tab in the 'Inspect' tool in the browser. What I have currently : url = 'url' response =…
3
votes
0 answers

How can I force `ng e2e` to use the latest ChromeDriver

When I run ng e2e I get the following error: [16:19:47] E/launcher - session not created: This version of ChromeDriver only supports Chrome version 74 (Driver info: chromedriver=74.0.3729.6…
3
votes
3 answers

selenium.common.exceptions.WebDriverException: Message: invalid argument: unrecognized capability: chromeOptions with Selenium and ChromeDriver 77.0

This is my code from selenium import webdriver driver = webdriver.Chrome('C:\chromedriver_win32\chromedriver') driver.get('http://google.com') And this is an error message. Traceback (most recent call last): File…
3
votes
3 answers

Python + Selenium: I can't get print text from div

Python + Selenium: I can't get print text from this div: I tried this: resp =…
3
votes
1 answer

cannot get selenium webdriver to work in azure databricks

We have some python scripts that scrape websites and work well. Now we want to do this in Azure Databricks. We thought we had the solution to do this with the following post in the Databricks forum, but unfortunately, it doesn't…
jbazelmans
  • 283
  • 1
  • 6
  • 16
3
votes
1 answer

Is it possible to build a web automation that can run through a browser?

I have created a Java program that utilizes Chrome Driver, Selenium, and Java Excel API. The program is used to automate a few different processes on Google Chrome. Currently, setting up this automation is more complicated than I would like it to…
Mitch Kelly
  • 481
  • 3
  • 10
3
votes
1 answer

Kill certain chrome process in python, not all

import subprocess from selenium import webdriver chrom_path = r"C:\Users\user\Downloads\chromedriver_win32\chromedriver.exe" driver = webdriver.Chrome(chrom_path) link = 'https://google.com' driver.get(link) s =…
user11940263
3
votes
1 answer

How to for loop though html element uisng python selenium to click each element in a page?

I'm trying to like and unlike all the post present in an Instagram feed page. I'm able to like a first single post not able to find a way to like multiple posts . I'm using XPath to get an element of that page…
3
votes
1 answer

Is it possible to capture a DOM snapshot

I'm trying to interact with a webpage that displays an element for a couple of seconds and then hides it. It show for around 5 seconds, so it would be probably enough time to right-click on it and inspect it in chrome, but the site has custom…
3
votes
3 answers

How to disable javascript on a specific page in Selenium?

I have a task: go to the page, find on it a link to another page and go to it. I need to load another page without javascript. If I use this method: options = Options() options.add_experimental_option("prefs", { …
3
votes
4 answers

org.openqa.selenium.remote.service.DriverService$Builder.createArgs()Lcom/google/common/collect/ImmutableList; with Selenium 3.5.3 Chrome 76

I'm writing Selenium Junit tests with IntelliJ. The tests run ok if I trigger from test directly. However, if I trigger tests from TestRunnerSuite with JunitCore, I encountered following weird error that I did not find a solution after researching…
user2751691
  • 401
  • 2
  • 10
  • 32
3
votes
4 answers

Chromedriver 76 breaks my test suite "javascript error: circular reference"

I now get "javascript error: circular reference(Session info: chrome=76.0.3809.100)" whenever I try and click on any element on my company's webapp. This is code that was working fine on previous chromedriver versions I have tried the solutions…
3
votes
2 answers

protractor/selenium started ignoring the chrome options (chromeOptions) in protractor.conf.js

I just rebuilt our development environment. This forced the latest version of chrome and suddenly the protractor based tests stopped working. After some research, I tracked this down to the fact that our chrome options in the protractor…