Interface SupportsMarionettePortOption<T extends BaseOptions<T>>
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,Serializable
- All Known Implementing Classes:
GeckoOptions
public interface SupportsMarionettePortOption<T extends BaseOptions<T>>
extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGet the number of the port for the Marionette server to listen on.default TsetMarionettePort(int port) Selects the port for Geckodriver’s connection to the Marionette remote protocol.Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapabilityMethods inherited from interface org.openqa.selenium.Capabilities
asMap, get, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, merge, required
-
Field Details
-
MARIONETTE_PORT_OPTION
- See Also:
-
-
Method Details
-
setMarionettePort
Selects the port for Geckodriver’s connection to the Marionette remote protocol. The existing Firefox instance must have Marionette enabled. To enable the remote protocol in Firefox, you can pass the -marionette flag. Unless the marionette.port preference has been user-set, Marionette will listen on port 2828, which is the default value for this capability.- Parameters:
port- port number in range 0..65535- Returns:
- self instance for chaining.
-
getMarionettePort
Get the number of the port for the Marionette server to listen on.- Returns:
- Marionette port value.
-