Upgrade to Firefox to 47 or later
Deceptive's Mozilla can't afford a name we're familiar with? First Webdriver.gecko.driver is marionette protocol.
1, webdriverexception:message: ' Geckodriver ' executable needs to being in PATH. Download the Firefox driver geckodriver can be placed in the Python installation directory C: \ PYTHON27,HTTP://DOCS.SELENIUMHQ.ORG/DOWNLOAD/2, WebDriverException:Message:Unsupported Marionette protocol version 2, Required 3
To resolve the issue you need to upgrade your Mozilla Firefox >= v47
as well.
from Import = webdriver. Firefox () browser.get("http://www.baidu.com") browser.find_element_by_id ( "kw"). Send_keys ("selenium") browser.find_ element_by_id ("su"). Click () browser.quit ()
Marionette Protocol-mozilla | MDN
Https://developer.mozilla.org/en-US/docs/Mozilla/QA/Marionette/Protocol
The marionette Remote control protocol lets out-of-process programs to communicate With Gecko.
Reference:
Java-"org.openqa.selenium.WebDriverException:Unsupported Marionette Protocol version 2" error coming while running my S Elenium Script with Gecko driver-stack Overflow
Http://stackoverflow.com/questions/39729930/org-openqa-selenium-webdriverexception-unsupported-marionette-protocol-version
Selenuim +python Environment Configuration problems-shortage 9468-Blog Park
Http://www.cnblogs.com/fangfangs/p/f0000000f.html
Webdriver:unsupported Marionette Protocol version 2, required 3