
上QQ阅读APP看书,第一时间看更新
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