- Python Automation Cookbook
- Jaime Buelta
- 55字
- 2021-08-13 15:51:16
Getting ready
We need to install the right driver for Chrome, called chromedriver. It is available here: https://sites.google.com/a/chromium.org/chromedriver/. It is available for most platforms. It also requires that you have Chrome installed: https://www.google.com/chrome/.
Add the selenium module to requirements.txt and install it:
$ echo "selenium==3.12.0" >> requirements.txt
$ pip install -r requirements.txt