On LineageOS 23.2, how can I check if Firefox Android is running a Marionette server?
1:35pm

To check if Firefox for Android on LineageOS 23.2 is running a Marionette server, you can use the following methods:

  1. Check via Firefox Settings/Preferences:

    • Open Firefox and go to about:config.
    • Look for the preference marionette.enabled. If it exists and is set to true, Marionette is enabled. If it does not exist, you can try creating it as a boolean preference and setting it to true (this may only work on Firefox Beta or Nightly, not the stable release).
  2. Check for Remote Debugging:

    • Enabling remote debugging in Firefox's settings may also enable Marionette as a side effect. If remote debugging is enabled, Marionette might be running.
  3. Check for Marionette Port:

    • If Marionette is running, it typically listens on a specific port (default is 2828). You can use a network tool like netstat or ss on your device (via ADB or terminal app) to check if this port is open and listening. For example:
      bash
      adb shell netstat -tuln | grep 2828
    • If you see a listening port, Marionette is likely running.
  4. Visual Indicator:

    • When Marionette is active, Firefox may display a robot icon in the browser UI, indicating automation is enabled.

Note: Marionette support on Android (especially stable releases) is not as straightforward as on desktop. It is more reliably available in Firefox Beta or Nightly builds, and even then, the Firefox/Geckoview divide can cause issues.

Would you like help enabling Marionette if it's not currently running?

1:35pm

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