Skip to main content
 首页 » 编程设计

python之无法使用 ghostdriver 启动 phantomjs

2025年05月04日8cloudgamer

<分区>

我正在运行一个包含 selenium 组件的代码,它需要 phantomJS。 我收到以下错误消息: 无法使用 ghostdriver 启动 phantomjs。 ;截图:可用

在我的代码中,我指定了我的 phantomJS 路径(bin 路径),但是这样的措施没有奏效。 我已将 phantomJS-osx 文件夹放置在与我的 selenium 文件夹相同的位置 - 这会是我的问题的原因吗?

谢谢