Difference between geckodriver and marionette [dup

2020-02-22 04:36发布

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条回答
Explosion°爆炸
2楼-- · 2020-02-22 05:08

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

查看更多
登录 后发表回答