我在尝试使用 selenium webdriver 打开 microsoft edge 时收到此错误。这是最新的 RS4 win10(17121) 和 webdriver(17110)。蟒蛇 3.4
尝试使用旧报告的解决方案,但仍然面临同样的问题。
'Traceback (most recent call last): File "fishbowl.py", line 98, in <module>
main() File "fishbowl.py", line 24, in main
driver=webdriver.Edge(); File "c:\Python34\lib\site-packages\selenium\webdriver\edge\webdriver.py", line 43, in __init__
desired_capabilities=capabilities) File "c:\Python34\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 154, in __init__
self.start_session(desired_capabilities, browser_profile) File "c:\Python34\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 243, in start_session
response = self.execute(Command.NEW_SESSION, parameters) File "c:\Python34\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 312, in execute
self.error_handler.check_response(response) File "c:\Python34\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 208, in check_response
raise exception_class(value) selenium.common.exceptions.WebDriverException: Message: Unknown error