Difference between geckodriver and marionette [duplicate]

丶灬走出姿态 提交于 2019-11-29 00:47:18

问题


This question already has an answer here:

  • Difference between webdriver.firefox.marionette & webdriver.gecko.driver 3 answers

I don't fully understand the difference between geckodriver and marionette.

  • Can anyone clarify the difference between them?

For example, when I use Selenium WebDriver to control a Firefox browser, I need a geckodriver binary to listen the WebDriver protocol from Selenium.

  • Is Marionette the Firefox extension that actually drives Firefox?

回答1:


Selenium uses W3C Webdriver protocol to send requests to Geckodriver, which translates them and uses Marionette protocol to send them to Firefox

Selenium<--(W3C Webdriver)-->Geckodriver<---(Marionette)--->Firefox



来源:https://stackoverflow.com/questions/42956380/difference-between-geckodriver-and-marionette

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!