Chrome
chromedriver 下载: http://chromedriver.storage.googleapis.com/index.html
安装
$ unzip chromedriver_linux64.zip
$ sudo mv chromedriver /usr/bin/
$ cd /usr/bin/
$ sudo chmod +x chromedriver
Firefox
geckodriver下载: https://github.com/mozilla/geckodriver/releases
安装
$ tar -xzvf geckodriver-v0.16.1-linux64.tar.gz
$ sudo mv geckodriver /usr/bin/
$ cd /usr/bin/
$ sudo chmod +x geckodriver
read more
参考了 Chris_Catier 同学的 [Python]Selenium的安装