Google Chrome Driver: Difference between revisions
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
ChromeDriver is a separate executable that Selenium [[Selenium_Concepts#WebDriver|WebDriver]] uses to control [[Chrome]]. | ChromeDriver is a separate executable that Selenium [[Selenium_Concepts#WebDriver|WebDriver]] uses to control [[Chrome]]. | ||
The executable is <code>chromedriver</code>. ChromeDriver expects you to have Chrome installed in the default location for your platform. ChromeDriver can be forced to use a custom location, by setting a special capability (<font color=darkgray>TODO: https://sites.google.com/chromium.org/driver/capabilities</font>) | The executable is <code>chromedriver</code>. ChromeDriver expects you to have Chrome installed in the default location for your platform. ChromeDriver can be forced to use a custom location, by setting a special capability (<font color=darkgray>TODO: https://sites.google.com/chromium.org/driver/capabilities</font>) | ||
=Controlling a Chrome Browser from Java= | |||
A Java program can control a browser via the Chrome driver: | |||
=Operations= | =Operations= |
Revision as of 07:06, 2 June 2021
External
Internal
Overview
ChromeDriver is a separate executable that Selenium WebDriver uses to control Chrome.
The executable is chromedriver
. ChromeDriver expects you to have Chrome installed in the default location for your platform. ChromeDriver can be forced to use a custom location, by setting a special capability (TODO: https://sites.google.com/chromium.org/driver/capabilities)
Controlling a Chrome Browser from Java
A Java program can control a browser via the Chrome driver:
Operations
Installation
Mac
brew install --cask chromedriver
brew upgrade --cask chromedriver
Version
chromedriver --version