selenium.common.exceptions.WebDriverException:消息:“ geckodriver”可执行文件必须位于PATH中。火狐

时间:2018-11-21 07:37:06

标签: python selenium firefox geckodriver

这些是我在终端中执行的命令

pip install --upgrade selenium

wget https://github.com/mozilla/geckodriver/releases/download/v0.23.0/geckodriver-v0.23.0-linux64.tar.gz

tar -xvzf geckodriver-v0.23.0-linux64.tar.gz

output-geckodriver

rm geckodriver-v0.23.0-linux64.tar.gz

chmod +x geckodriver

cp geckodriver /usr/local/bin/

output-cp:

  

无法创建常规文件'/ usr / local / bin / geckodriver':权限被拒绝

0 个答案:

没有答案