Enum mozrunner::firefox_args::Arg
source · pub enum Arg {
Foreground,
Marionette,
NoRemote,
NamedProfile,
Profile,
ProfileManager,
Other(String),
RemoteAllowHosts,
RemoteAllowOrigins,
RemoteDebuggingPort,
None,
}
Expand description
Represents a Firefox command-line argument.
Variants§
Foreground
-foreground
ensures application window gets focus, which is not the
default on macOS. As such Firefox only supports it on MacOS.
Marionette
–marionette enables Marionette in the application which is used by WebDriver HTTP.
NoRemote
-no-remote
prevents remote commands to this instance of Firefox, and
ensure we always start a new instance.
NamedProfile
-P NAME
starts Firefox with a profile with a given name.
Profile
-profile PATH
starts Firefox with the profile at the specified path.
ProfileManager
-ProfileManager
starts Firefox with the profile chooser dialogue.
Other(String)
All other arguments.
RemoteAllowHosts
–remote-allow-hosts contains comma-separated values of the Host header to allow for incoming WebSocket requests of the Remote Agent.
RemoteAllowOrigins
–remote-allow-origins contains comma-separated values of the Origin header to allow for incoming WebSocket requests of the Remote Agent.
RemoteDebuggingPort
–remote-debugging-port enables the Remote Agent in the application which is used for the WebDriver BiDi and CDP remote debugging protocols.
None
Not an argument.