Firefox 43 Mac Selenium E版

2024-09-30 06:34:19 发布

您现在位置:Python中文网/ 问答频道 /正文

我每个月都运行一个包含selemiumwebdriver包的python脚本。

更新Firefox后,我收到以下错误:

WebDriverException: Message: Can't load the profile. Profile Dir: %s If you specified a log_file in the FirefoxBinary constructor, check it for details.

你知道我该怎么做吗?我试图更新selenium,但由于某些原因,我有相同的包版本。


Tags: the脚本youmessageif错误dirload
1条回答
网友
1楼 · 发布于 2024-09-30 06:34:19

因此,我使用以下命令更新了selenium包。

sudo pip install -U selenium

由于权限错误,它以前不起作用,所以我必须在执行上述命令之前添加sudo。
我从另一篇stackoverflow帖子中得到了答案,这篇文章的问题与Firefox的旧版本相同。

相关问题 更多 >

    热门问题