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
17
votes
7 answers

Chromedriver only supports characters in the BMP error while sending Emoji with ChromeDriver Chrome using Selenium Python to Tkinter's label() textbox

I am automating whatsapp messages and would like to send them out through a tkinter window. In this tkinter window I have created a message box with the help of .label() and I am able to connect to whatsapp web through selenium. Currently, I am…
17
votes
9 answers

Possible issue with Chromedriver 78, Selenium can not find web element of PDF opened in Chrome

Until my google Chrome wasn't updated to version 78 my code worked fine. I also updated the chromedriver to version 78.0.3904.70. So I am not able anymore to find WebElement with id='plugin' using Selenium WebDriver and Java:
Mix
  • 173
  • 1
  • 1
  • 7
17
votes
7 answers

Chromedriver `driver.manage.logs.get(:browser)` fails on chromedriver 75.0.3770.8

While accessing driver.manage.logs.get(:browser) on chromedriver 75.0.3770.8 I'm getting this error: undefined method `log' for # (NoMethodError) Works fine on 74.0.3729.6 from:…
Daniel
  • 4,051
  • 2
  • 28
  • 46
17
votes
7 answers

Can't update chromedriver in macos10.12.6

I am trying to update chromedriver from 2.30 to 2.35. However, after I brew install chromedriver, the default chromedriver is still 2.30. If I redo brew, it will tell me I have already installed 2.35 version, but when I use chromedriver --version,…
Fileland
  • 351
  • 1
  • 3
  • 9
17
votes
3 answers

NoSuchElementException, Selenium unable to locate element

i would like to find my TextField in selenium, but i dont know how (i use sellenium for the first time). I tried: driver.findElement(By.id("originTextField")) or by xPath and cssSelector String generated by chrome in dev tools. Please help me, i…
17
votes
3 answers

Steps to Install and run headless chrome browser on centos 6.5 using chrome driver

I need to install chrome browser on centos 6.5, Here i need to automate some web gui. I have installed chrome driver. Can anyone please provide the steps and download link of chrome-61 and how to install it. My operating system does not have any…
vish
  • 901
  • 1
  • 7
  • 20
17
votes
1 answer

Selenium WebDriver throwing an error for Click action, but Click is actually successful

When running synthetic browser tests using Selenium and Google Chrome, we intermittently receive a Selenium error (see below) on a particular website. The flow is: Load the start page Enter a search term Take a screenshot Click the search…
17
votes
8 answers

Selenium leaves behind running processes?

When my selenium program crashes due to some error, it seems to leave behind running processes. For example, here is my process list: carol 30186 0.0 0.0 103576 7196 pts/11 Sl 00:45 0:00 /home/carol/test/chromedriver --port=51789 carol …
17
votes
7 answers

Selenium WebDriver.ChromeDriver Nuget package installed, but not working for MSTest

I have added the WebDriver.ChromeDriver nuget package to my solution, which contains the ChromeDriver.exe file, required for Selenium WebDriver to run automated tests using Chrome. Looking at the package contents, it just contains the file following…
17
votes
4 answers

Selenium WebDriver C# Full Website Screenshots With ChromeDriver and FirefoxDriver

When I take screenshots with ChromeDriver I get screens with the size of my viewport. When I take screenshots with FirefoxDriver I get what I want, which is a full screen print of a website. ChromeDriver is declared like this: IWebDriver driver =…
user2429052
  • 171
  • 1
  • 1
  • 5
17
votes
9 answers

How to disable logging using Selenium with Python binding

Simple question: how to completely disable logging when using Selenium from Python bindings, ex code as follows: browser = webdriver.Chrome() I've tried things like: options = webdriver.ChromeOptions(); options.add_argument('--log-level 3')…
Rabih Kodeih
  • 9,361
  • 11
  • 47
  • 55
17
votes
5 answers

Selenium ChromeDriver switch tabs

When I click on a link in my test, it opens a new tab. I want ChromeDriver to then focus on that tab. I have tried the following code to get ChromeDriver to change tabas using the ctrl+tab shortcut: Actions builder = new…
Lisa Young
  • 240
  • 1
  • 4
  • 10
16
votes
12 answers

ValueError: There is no such driver by url

Hi I am using Selenium on a mac with Apple M2 chip and since 10 days I keep getting the following error (initially I did not have this error but I changed computers and now I can no longer use Selenium) : ValueError: There is no such driver by url…
Mia
  • 407
  • 1
  • 4
  • 11
16
votes
8 answers

USB: usb_device_handle_win.cc:1020 Failed to read descriptor from node connection error with ChromeDriver v87 / Chrome v87 using Selenium on Windows10

We recently upgraded our Windows 10 test environment with ChromeDriver v87.0.4280.20 and Chrome v87.0.4280.66 (Official Build) (64-bit) and after the up-gradation even the minimal program is producing this ERROR…
16
votes
3 answers

Emulate a focused Page option not available in Chrome Developer Tools

There used to be an option, "Emulate a focused page," under "Global preferences" in Chrome developer tools. However, I am not able to find that option anymore. Any ideas?
Akshay Kane
  • 161
  • 1
  • 2
  • 4