The chromedriver Utility
The chromedriver
utility enables automated web browsing via a Chrome-like web browser.
Installation
Detect if chromedriver
is already installed, and if so, where:
Install chromedriver
, if necessary (on Mac or Windows), or on Mac, can do this via homebrew
and brew cask
:
Observe the location where your chromedriver
utility has been installed (e.g. "/usr/local/bin/chromedriver").
Usage
Use the selenium
package to control the chromedriver
from a Python script.
Troubleshooting
If you're using chromedriver
on Mac and you see an error like "chromedriver cannot be opened because the developer cannot be verified", you must first adjust your security and privacy settings to "Allow Anyway", and afterwards it should work.
Last updated