Interface SupportsMjpegServerPortOption<T extends BaseOptions<T>>

All Superinterfaces:
CanSetCapability<T>, org.openqa.selenium.Capabilities, Serializable
All Known Implementing Classes:
XCUITestOptions

public interface SupportsMjpegServerPortOption<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 port number on which WDA broadcasts screenshots stream encoded into MJPEG format from the device under test.
    default T
    The port number on which WDA broadcasts screenshots stream encoded into MJPEG format from the device under test.

    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

    • setMjpegServerPort

      default T setMjpegServerPort(int port)
      The port number on which WDA broadcasts screenshots stream encoded into MJPEG format from the device under test. It might be necessary to change this value if the default port is busy because of other tests running in parallel. Default value: 9100.
      Parameters:
      port - port number in range 0..65535
      Returns:
      self instance for chaining.
    • getMjpegServerPort

      default Optional<Integer> getMjpegServerPort()
      Get the port number on which WDA broadcasts screenshots stream encoded into MJPEG format from the device under test.
      Returns:
      The port number.