gpt4 book ai didi

python - firefox webdriver for selenium on debian issue

转载 作者:行者123 更新时间:2023-11-28 17:46:46 25 4
gpt4 key购买 nike

如何在 debian 上安装 webdriver.Firefox()?

当我执行我的 python 脚本时,现在我得到这个错误:

untimeError: Could not find firefox in your system PATH. Please specify the firefox binary location or install firefox

提前致谢!

尼克

最佳答案

您可以使用 iceweasel 而不是“正确”版本的 firefox。

apt-get install iceweasel

python
>>> import webdriver
>>> browser = webdriver.Firefox()

关于python - firefox webdriver for selenium on debian issue,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17039508/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com