|
运行报错信息如下:Traceback (most recent call last):
File "second.py", line 15, in <module>
driver = webdriver.Firefox()
File "D:\Program Files\Python36\lib\site-packages\selenium\webdriver\firefox\w
ebdriver.py", line 145, in __init__
keep_alive=True)
File "D:\Program Files\Python36\lib\site-packages\selenium\webdriver\remote\we
bdriver.py", line 92, in __init__
self.start_session(desired_capabilities, browser_profile)
File "D:\Program Files\Python36\lib\site-packages\selenium\webdriver\remote\we
bdriver.py", line 179, in start_session
response = self.execute(Command.NEW_SESSION, capabilities)
File "D:\Program Files\Python36\lib\site-packages\selenium\webdriver\remote\we
bdriver.py", line 236, in execute
self.error_handler.check_response(response)
File "D:\Program Files\Python36\lib\site-packages\selenium\webdriver\remote\er
rorhandler.py", line 192, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: Missing 'marionetteProto
col' field in handshake
elenium.common.exceptions.WebDriverException: Message: Missing 'marionetteProto
col' field in handshake
百度说是因为selenium3.01和firefox38.8驱动问题请问如何解决??
|
|
共 7 个关于本帖的回复 最后回复于 2017-7-27 12:28