On Android I run `geckodriver`, then I have a Python script using Selenium to connect to Geckodriver which allows me controlling Firefox Android. What process starts Marionnette server?
10:55am

On Android, when you use geckodriver with Selenium to control Firefox for Android (Fenix), the Marionette server is started automatically by the Firefox for Android (Fenix) app itself.

How it works:

  • geckodriver acts as a proxy between Selenium and Firefox.
  • When geckodriver launches Firefox for Android, it passes the --marionette flag (or equivalent) to the Firefox process.
  • Firefox for Android (Fenix) then starts the Marionette server internally as part of its process.
  • Marionette is Firefox's automation engine, and it runs within the Firefox process—not as a separate process.

Key Points:

  • No separate Marionette process: Unlike the desktop version, where Marionette might run as a separate process, on Android, it is embedded within the Firefox app.
  • Triggered by geckodriver: The server starts only when Firefox is launched with the correct flags by geckodriver.

So, the Marionette server is started by the Firefox for Android app itself, not by geckodriver or Selenium directly.

10:55am

This is a shared conversation and may include unverified content that doesn't reflect Mistral AI's views. Login to resume chatting.