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
    Modifier and Type
    Field
    Description
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    default Optional<Integer>
    Get the number of the port for the Marionette server to listen on.
    default T
    Selects the port for Geckodriver’s connection to the Marionette remote protocol.

    Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability

    amend, setCapability

    Methods inherited from interface org.openqa.selenium.Capabilities

    asMap, get, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, merge, required
  • Field Details

  • Method Details

    • setMarionettePort

      default T setMarionettePort(int port)
      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

      default Optional<Integer> getMarionettePort()
      Get the number of the port for the Marionette server to listen on.
      Returns:
      Marionette port value.