gpt4 book ai didi

Firefox 13 打破了 Selenium 测试

转载 作者:行者123 更新时间:2023-12-03 22:14:03 26 4
gpt4 key购买 nike

显然我今天早上升级了我的 Firefox 以及其他一些系统更新,现在我的 selenium 测试被破坏了!他们昨天工作得很好,一切都过去了。执行悬停似乎是一个问题。
这是我得到的错误:

Traceback (most recent call last):
File "sel.py", line 201, in testAddContent
hoveredElement.perform()
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/common/action_chains.py", line 44, in perform
action()
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/common/action_chains.py", line 201, in <lambda>
self._driver.execute(Command.MOVE_TO, {'element': to_element.id}))
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 155, in execute
self.error_handler.check_response(response)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/errorhandler.py", line 147, in check_response
raise exception_class(message, screen, stacktrace)
InvalidElementStateException: Message: u'Cannot perform native interaction: Could not load native events component.' ; Stacktrace: Method generateErrorForNativeEvents threw an error in file:///tmp/tmpq2yHMn/extensions/fxdriver@googlecode.com/components/driver_component.js

最佳答案

您需要昨天发布的 Selenium 2.23。

关于Firefox 13 打破了 Selenium 测试,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10916544/

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