📜  如何在 linux 上安装 chromedriver - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:19.442000             🧑  作者: Mango

代码示例2
To install chromedriver:
$ sudo apt-get install unzip
$ wget -N http://chromedriver.storage.googleapis.com/2.29/chromedriver_linux64.zip -P ~/Downloads
$ unzip ~/Downloads/chromedriver_linux64.zip -d ~/Downloads
$ sudo mv -f ~/Downloads/chromedriver /usr/local/share/
$ sudo chmod +x /usr/local/share/chromedriver
$ sudo ln -s /usr/local/share/chromedriver /usr/local/bin/chromedriver
$ sudo ln -s /usr/local/share/chromedriver /usr/bin/chromedriver

It will be succesfully installed
To find the path write:
$ whereis chromedriver