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
0 answers

How to accept keyboard interrupt without closing Selenium-controled browser

I created this test.html test
MikeCAT
  • 73,922
  • 11
  • 45
  • 70
3
votes
1 answer

Jmeter WebDriverSampler fail with Chromedriver headless

I have some tests with WebDriverSampler in Jmeter that work correctly with chromedriver. It is a selenium script that opens a web page and checks that it contains a series of elements. Everything works right until I've tried with the chromedriver…
3
votes
1 answer

getting an error of element not interactable or element not visible

Getting error of selenium.common.exceptions.ElementNotInteractableException: Message: element not interactable (or) selenium.common.exceptions.WebDriverException: Message: chrome not reachable for the search query code lines. I believe that…
3
votes
1 answer

Chromedriver won't run as root despite --no-sandbox option

I can't get Chromedriver to run in a Docker, and it seems I'm passing everything as needed, but it still throws the 'root with sandbox' error and quits. 2019-02-15 15:30:22 INFO : Using chromedriver set in webdriver.chrome.driver:…
antonyh
  • 2,131
  • 2
  • 21
  • 42
3
votes
2 answers

Python + Selenium: get span value from "ng-bind"

So I have Selenium code that goes to a page using chrome. Now at that page, there is this HTML; Heloooo How can I get the value using python and Selenium? So only the Heloooo. Thanks!
3
votes
1 answer

c# Selenium Chromedriver opens wrong url onload

I'm using Selenium with chromedriver to scrape a list of data using HTML agility pack but when I try to navigate to this page, the url gets changed from url1 to url2. Therefore is there a way to stop this from happening? string url = ""; …
LordDraagon
  • 521
  • 12
  • 31
3
votes
0 answers

Asynchronous refresh with Selenium + Python

I'm currently working on a project where I need Selenium to refresh two tabs at an exact time and I don't want to wait for the site to be loaded. I tried every method described in multiple posts and still don't get it right. The snippet below leads…
3
votes
0 answers

Flask + Selenium application on AWS Lambda

Encountered several problems deploying with zappa flask application with selenium, using chromedriver and headless_chromium. Deployment goes well right utill the end, when it gives 502 error. zappa tail reveals the following exception: :…
3
votes
3 answers

TestNg is not running @test annotations with 'driver.find' however works with just 'syso-printing

I am having trouble with starting a new package using TestNg. Note I have simplified the code to try to figure out where I was going wrong. At @Test(priority=3) I am having the issue. It is not allowing me to click on a button. I have checked the…
fari
  • 31
  • 5
3
votes
2 answers

selenium.common.exceptions.WebDriverException: Message: unknown error: Chrome failed to start: exited abnormally with ChromeDriver Chrome and Selenium

I am trying to run a webscraper on a linux server. The full error is below selenium.common.exceptions.WebDriverException: Message: unknown error: Chrome failed to start: exited abnormally (Driver info: chromedriver=2.10.267518,platform=Linux…
3
votes
2 answers

How can I execute JS command using my chromedriver, inside a Java code?

I would like to ask you how can I scroll into a web page by using a JS command. Though, I want this JS command inside a Java code-block. For the above purpose let me tell you that I also use Selenium framework. Is it possible? The purpose is to do…
3
votes
2 answers

Selenium Chrome getting text not work on headless mode

I am experiencing a strange behaviour from selenium when running it on headless mode with Chrome webdriver. Up to now, I did not have this problem before to get text in headless mode, it always worked. The reproduceble example is given bellow: from…
Everton Reis
  • 422
  • 4
  • 16
3
votes
2 answers

Chromedriver selenium opens page but closes 2 seconds later (Multiple Error Messages)

I'm currently using chromedriver 2.25 to launch a webpage. Everything is done in python but however, when i run the script, i get the following error below. my chrome version is chrome 54+ and I'm running windows 7 professional. I've tried using…
3
votes
2 answers

errors when replace phantomjs to headless chromedriver

i got many errors about js... so i changed to chromedriver headless, and it work better for screenshot a specific element, but i got an errors in a other screenshot(s) code Starting ChromeDriver 2.45.615291…
M J
  • 174
  • 1
  • 12
3
votes
1 answer

Google chrome older versions for Centos/Linux

How can I download google chrome old versions for Centos (. RPM package).
waruna k
  • 842
  • 10
  • 20