Mac中selenium使用出现错误

解决方案是:

首先通过brew 安装

$ brew install geckodriver

然后设置配置文件~/.bash_profile文件

export PATH=$PATH:/path/to/geckodriver

这里的路径一直到geckodriver下的bin目录

这样就可以了

相关文章:

  • 2021-11-05
  • 2021-06-16
  • 2021-10-10
  • 2022-12-23
  • 2021-09-20
  • 2021-12-22
  • 2021-07-01
  • 2021-05-20
猜你喜欢
  • 2021-08-20
  • 2021-09-29
  • 2021-07-12
  • 2021-11-10
  • 2022-12-23
  • 2021-11-08
  • 2022-12-23
相关资源
相似解决方案