
You can also get the absolute filename of the binary with chromedriver_binary.chromedriver_filename. ChromeOptions options new ChromeOptions () // Add the WebDriver proxy capability. This will add the executable to your PATH so it will be found. ChromeDriver driver new ChromeDriver (options) Since Selenium version 3.6.0, the ChromeOptions class in Java also implements the Capabilities interface, allowing you to specify other WebDriver capabilities not specific to ChromeDriver. 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.

Downloads and installs the chromedriver binary version 1.24 for automated testing of webapps.
