小编shi*_*wal的帖子

如何在ubuntu上安装python3 selenium的firefoxdriver webdriver?

我在Ubuntu 16.04上安装了python3-selenium apt包.在安装时,收到了一条消息:

Suggested packages:
  chromedriver firefoxdriver
The following NEW packages will be installed:
  python3-selenium
Run Code Online (Sandbox Code Playgroud)

当我尝试在python3-django中运行测试用例时,我收到以下错误:

FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/firefoxdriver/webdriver.xpi'
Run Code Online (Sandbox Code Playgroud)

我在Ubuntu存储库中搜索了包名为firefoxdriver但没有存在.

任何有关安装webdrivers的帮助表示赞赏.

python django ubuntu selenium

8
推荐指数
1
解决办法
5415
查看次数

标签 统计

django ×1

python ×1

selenium ×1

ubuntu ×1