gpt4 book ai didi

firefox - 升级到 Firefox 18 后,带有 Python 的 Selenium webdriver 崩溃

转载 作者:行者123 更新时间:2023-12-02 05:16:57 25 4
gpt4 key购买 nike

这是我在尝试运行时收到的消息:Traceback(最后一次调用):

 File "C:\Python27\intertwyneloginandemail", line 3, in <module>
driver = webdriver.Firefox()
File "C:\Python27\lib\site-packages\selenium\webdriver\firefox\webdriver.py", line 51, in __init__
self.binary, timeout),
File "C:\Python27\lib\site-packages\selenium\webdriver\firefox\extension_connection.py", line 47, in __init__
self.binary.launch_browser(self.profile)
File "C:\Python27\lib\site-packages\selenium\webdriver\firefox\firefox_binary.py", line 44, in launch_browser
self._wait_until_connectable()
File "C:\Python27\lib\site-packages\selenium\webdriver\firefox\firefox_binary.py", line 86, in _wait_until_connectable
self.profile.path, self._get_firefox_output()))

WebDriverException: Message: "Can't load the profile. Profile Dir:
c:\\users\\aarons\\appdata\\local\\temp\\tmphqwoq5 Firefox output: *** LOG addons.xpi: startup\r\n*** WARN addons.xpi: Ignoring missing add-on in C:\\Program Files (x86)\\Common
Files\\McAfee\\SystemCore\r\n*** LOG addons.xpi: Skipping unavailable install location app-system-local\r\n*** LOG addons.xpi: Skipping unavailable install location app-system-share\r\n***
LOG addons.xpi: checkForChanges\r\n*** LOG addons.xpi: No changes found\r\n"

最佳答案

尝试更新selenium包到最新版本(2.29.0)

关于firefox - 升级到 Firefox 18 后,带有 Python 的 Selenium webdriver 崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14514409/

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