

You can also get the absolute filename of the binary with chromedriver_binary.chromedriver_filename. This will add the executable to your PATH so it will be found. To use chromedriver just import chromedriver_binary. To redetect the required version and install the newest suitable chromedriver after the first installation simply reinstall the package using pip install -upgrade -force-reinstall chromedriver-binary-autoįrom GitHub pip install the installed chromedriver version does not match your browser's version please try to empty pip's cache or disable the cache during (re-)installation.

From PyPI pip install chromedriver-binary-auto Please make sure to install Chrome or Chromium first and add the browser to the binary search path. Installation Latest and fixed versions From PyPI pip install chromedriver-binary The installer supports Linux, MacOS and Windows operating systems.Īlternatively the package chromedriver-binary-auto can be used to automatically detect the latest chromedriver version required for the installed Chrome/Chromium browser.

(Python only) include the path to ChromeDriver when instantiating webdriver.Downloads and installs the chromedriver binary version 1.24 for automated testing of webapps. (Java only) specify its location via the system property (see sample below) Include the ChromeDriver location in your PATH environment variable Help WebDriver find the downloaded ChromeDriver executable You can also force ChromeDriver to use a custom location by setting a special capability.ĭownload the ChromeDriver binary for your platform under the downloads section of this site If you are unfamiliar with Selenium WebDriver, you should check out the Selenium site.įollow these steps to setup your tests for running with ChromeDriver:Įnsure Chromium/Google Chrome is installed in a recognized locationĬhromeDriver expects you to have Chrome installed in the default location for your platform. It is maintained by the Chromium team with help from WebDriver contributors. ChromeDriver is a separate executable that Selenium WebDriver uses to control Chrome. Setup Download the ChromeDriver binary for your platform under the downloads section of this site Help WebDriver find the downloaded ChromeDriver executable.
