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

window.chrome.runtime is undefined for selenium webdriver

I am using Selenium for testing. I noticed a different behavior starting Chrome manually and starting it with selenium. After a lot of investigation I broke the problem down to JavaScript's window.chrome.runtime which is undefined if started with…
3
votes
1 answer

Colab: chromedriver is not included in PATH

I tried to practice selenium module on colab, after installing selenium module and unzipped chromedriver_win32.zip. I type, from selenium import webdriver driver = webdriver.Chrome() I got the error messages like my title, Message: 'chromedriver'…
Alan.L
  • 183
  • 2
  • 3
  • 7
3
votes
1 answer

How can I add an EXTERNAL extension into selenium (chrome) python

UPDATED QUESTION: At this point, if anyone can give me any tips on how I can add any type of extension inside selenium during run time, my goal was to be able to run the script and have chrome have the extension installed and active to go, since…
3
votes
1 answer

Reliable way to install chromium or Firefox webdriver on Raspberry Pi Zero

I have a Raspberry Pi Zero with Raspbian Stretch running on it. I am appending the hardware and OS details. I have some Python applications that I need to run on it. My applications need a Selenium webdriver (any browser - Firefox or Chromium…
3
votes
7 answers

The process started from chrome location C:\..\Chrome\Application\chrome.exe is no longer running, so ChromeDriver is assuming that Chrome has crashed

Chrome version: 68.0.3440.106 Chrome webdriver version: ChromeDriver 2.41.578737 Python Version : Python 3.5.2 I write this code in python: from selenium import webdriver from selenium.webdriver.common.keys import Keys o =…
3
votes
2 answers

Can't get XPath to click on pop up in selenium

I'm trying to extract a few simple 'CIK' codes from the 'SEC'. If you run the code below, you will get a pop about a "survey". If you do it manually, you won't see it. It bombs my code. But since it is in selenium, I can't inspect it with chropath…
jason
  • 3,811
  • 18
  • 92
  • 147
3
votes
3 answers

Python Selenium - click on element purely based on its location based on body element offset

I have a question that was somehow discussed here ([python][selenium] on-screen position of element) but that doesn't currently do what I'm trying to achieve. My goal is the following: element.location gives the position of the top left corner of…
Angelo
  • 1,594
  • 5
  • 17
  • 50
3
votes
2 answers

Сhromedriver: how to add support of Chromium-based browsers

What is required to add a browser to the list of available browsers for UI-automation frameworks/wrappers to successfully running of autotests through the appropriate browser? For example, I want to adding browser "Sputnik", which using Chromium…
3
votes
1 answer

Selenium routing with subdomains

I have created a docker compose file for doing Capybara tests inside a container. The problem i'm currently facing to is that i can't find a ability to to route the subdomains of my lvh.me domain. When I add lvh.me to the hosts file of Selenium I…
3
votes
2 answers

org.openqa.selenium.remote.UnreachableBrowserException: Error communicating with the remote browser. It may have died with ChromeDriver and Selenium

I'm running a bunch of test cases every hour using selenium-java 3.12.0; TestNG; Selenoid with docker, Jenkins. Sometimes (about 1 out of 10 cases) I get the error: org.openqa.selenium.remote.UnreachableBrowserException: Error communicating with…
3
votes
1 answer

Scroll down to end page using Selenium Python chromeDriver

Please help, I want to scroll down to end of the bage but it stops. the code that i try is here browser = webdriver.Chrome() browser.get(url) button = browser.find_element_by_tag_name("html") old="" new=" " while len(new)>len(old): old =…
Vazgen
  • 51
  • 2
  • 4
3
votes
1 answer

Selenium webdriver stalling after timeout

I am using selenium webdriver on chrome to scrape a website's search results, with python 3.6 on Windows 10. When using driver.get(), certain pages do not load, and selenium times out (regardless of how long I set the timeout for). My error is that…
tigerninjaman
  • 393
  • 3
  • 17
3
votes
3 answers

C# Using Selenium with Chrome Portable and driver.Navigate().GoToUrl

What I am trying to accomplish is, I think, relatively simple. I am trying to write code that will use a Google Chrome Portable executable and also execute selenium powered web-page element finding and selecting using the latest version of the…
3
votes
1 answer

Update download.default_directory chromedriver for different file download

I'm using Selenium to download different files of a web. My initial configuration when i run the program is: download_dir = "/Users/Downloads" options = webdriver.ChromeOptions() profile = {"plugins.plugins_list": [{"enabled": False, "name":…
Davicholo
  • 33
  • 1
  • 4
3
votes
0 answers

Selenium WebDriver Socket Exception

Everything was working fine till yesterday and from today onward , I have started facing the issue intermittently at any stage but frequently {"Unexpected error. System.Net.WebException: Unable to connect to the remote server --->…
Mohit
  • 41
  • 4
1 2 3
99
100