Python ChromeDriver GeckoDriver

Python ChromeDriver GeckoDriver

Python ChromeDriver GeckoDriver Configer

下载

配置

Linux

  • 方法一
1
2
sudo mv chromedriver /usr/bin
sudo mv geckodriver /usr/bin

方法二(配置 Path)

1
2
3
4
vim ~/.profile

export PATH="$PATH:/usr/local/chromedriver"
export PATH="$PATH:/usr/local/geckodriver"
  • 验证
terminal
1
2
chromedriver
geckodriver

Windows

chromedriver.exe geckodriver.exe 文件拖到 Python 的 Scripts 目录下


评论

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×