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

Selenium's Chrome webdriver stuck while login

I am trying to test a page using Selenium and Chrome Webdriver (using Java). In Windows there is no authentication because it uses the domain login to enter. But in Linux (I plan to run in Linux this test) I got an ADFS login prompt saying please…
3
votes
1 answer

Getting "cannot activate web view"

I received an error. When I did a google search, I got some results but they were all for Android programming. I am automating a test using Windows, Java 1.8 and Selenium. The error org.openqa.selenium.WebDriverException: unknown error: cannot…
Tony
  • 1,127
  • 1
  • 18
  • 29
3
votes
2 answers

Chrome Version 71.x unknown error: call function result missing 'value'

Please don't mark this question as a duplicate, because the other solution doesn't work for me. I'm using Angular v5.x and using Protractor for E2E testing. But on running the command. ng e2e -s false It is throwing an error as Failed: unknown…
3
votes
2 answers

Webdriver can't find element by locator set as variable in another class

I wrote automated tests with help of JUnit, Selenium Webdriver (v. 3.141.59) and Chromedriver (v. 2.45). Firstly, I wrote a login test: [...] void loginTest() { driver().findElement(By.id("login-button")).click(); …
3
votes
1 answer

Cannot connect to chrome at localhost:xxxx from session not created: Chrome version must be >= 69.0.3497.0 with Robot Framework using Python

When I try to connect to a debuggerAddress via chrome web driver i get below error WebDriverException: Message: unknown error: cannot connect to chrome at localhost:xxxx from session not created: Chrome version must be >= 69.0.3497.0 (Driver info:…
3
votes
1 answer

UnhandledAlertException: unexpected alert open: {Alert text : Save successfully.}

I'm facing below error while handling an alert pop up with Chrome driver in Selenium. Exception in thread "main" org.openqa.selenium.UnhandledAlertException: unexpected alert open: {Alert text : Save successfully.} Scenario: This is happening when…
3
votes
1 answer

How are we supposed to execute package build targets in the new world where nuget packages are consumed through msbuild PackageReference?

I am developing a suite of UI tests using Selenium. One of the run-time dependencies of this suite is the chromedriver.exe, which we are expected to consume through the Selenium.WebDriver.ChromeDriver NuGet package. The old world When this NuGet…
mark
  • 59,016
  • 79
  • 296
  • 580
3
votes
0 answers

How do I add a bearer token into chrome driver as a header argument by using selenium and python?

I was trying to open a URL which requires a bearer token as a header argument: I think the easiest way is added the bearer token into chrome driver. I have checked this website (the website) which shows the arguments of chrome driver but I could…
3
votes
2 answers

Error on Selenium data dir when using headless

I recently asked here about a problem I had with headless chrome, someone marked it as duplicate, but the duplicate thread didn't solve my problem either. However I've noticed what is causing the error, I haven't found a way to fix it yet…
Xetra
  • 73
  • 1
  • 8
3
votes
1 answer

Gitlab CI - Django functional tests - splinter

I want to run some automation tests on github on a project of mine with a Django framework. Therefore I am using a Django functional test. While executing the test on my local pc works fine, my pipeline is always failing with those tests. I…
dnsiv
  • 520
  • 4
  • 20
3
votes
1 answer

Selenium WebDriver loses connection to web page

I'm executing an automated test with Selenium ChromeDriver against a form on a web page. When I click the Submit button on the form, my WebDriver is losing connection to the browser/page/components, etc. Any subsequent action against the page…
s mac
  • 135
  • 1
  • 1
  • 12
3
votes
1 answer

Selenium input date on disabled datepicker

I'm trying to input of my own choice of date but i am stuck click disabled datepicker. If i click on datepicker it pops up and ask to click on the date even for a month I have to click more. I'm confused here what to…
3
votes
1 answer

Laravel Dusk Testing has an error on the server Curl error thrown for http POST to /session with params

I would like to ask me to try the following instructions on Plesk Server: php artisan dusk The following error will occur: 1) Tests\Browser\ExampleTest::testBasicExample Facebook\WebDriver\Exception\WebDriverCurlException: Curl error thrown for…
Yi Yang
  • 33
  • 4
3
votes
0 answers

Selenium ChromeDriver getPageSource() not working in headless mode

When i set the ChromeDriver in headless mode it is unable to get the source of the page in any way. The getPageSource() is working when i set the driver in non-headless mode. Here is my code: String pageSource = ""; try { …
Drunk Cat
  • 483
  • 1
  • 4
  • 9
3
votes
2 answers

Relaxing Chrome's CSP while running tests (webdriver) (Content-Security-policy)

I'm trying to relax Chrome's CSP while running a test using proctractor (webdriver, chromedriver). So the solution can be either a flag like "--disable-csp" which dose not exist according to my search results. a setting for webdriver/protractor to…