Interface SupportsMjpegServerPortOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>
,org.openqa.selenium.Capabilities
,java.io.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 java.lang.String
MJPEG_SERVER_PORT_OPTION
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.util.Optional<java.lang.Integer>
getMjpegServerPort()
Get the port number on which WDA broadcasts screenshots stream encoded into MJPEG format from the device under test.default T
setMjpegServerPort(int port)
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
-
-
-
-
Field Detail
-
MJPEG_SERVER_PORT_OPTION
static final java.lang.String MJPEG_SERVER_PORT_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
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 java.util.Optional<java.lang.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.
-
-