|
发表于 2019-6-18 20:09:02
|
显示全部楼层
DevTools listening on ws://127.0.0.1:12135/devtools/browser/05731970-1420-4a01-aaed-7395b60825dd
Traceback (most recent call last):
File "C:\Users\Administrator\Desktop\1.py", line 47, in <module>
driver.maximize_window()
File "D:\python\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 737, in maximize_window
self.execute(command, params)
File "D:\python\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "D:\python\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: unknown error: cannot get automation extension
from unknown error: Runtime.executionContextCreated has invalid 'context': {"auxData":{"frameId":"61585801D327EB85F57DD615E0833843","isDefault":true,"type":"default"},"id":1,"name":"","origin":"://"}
(Session info: chrome=74.0.3729.169)
(Driver info: chromedriver=2.7.236900,platform=Windows NT 6.3 x86_64) |
|