使用selenium webdriver打开边缘时出现未知异常错误

时间:2018-03-27 11:13:57

标签: python selenium selenium-webdriver webdriver selenium-edgedriver

我试图用selenium webdriver打开微软边缘时收到此错误。这是最新的RS4 win10(17121)和webdriver(17110)。 Python 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

0 个答案:

没有答案