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 -
Method Summary
Modifier and TypeMethodDescriptionGet the port number on which WDA broadcasts screenshots stream encoded into MJPEG format from the device under test.default TsetMjpegServerPort(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, setCapabilityMethods inherited from interface org.openqa.selenium.Capabilities
asMap, get, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, merge, required
-
Field Details
-
MJPEG_SERVER_PORT_OPTION
- See Also:
-
-
Method Details
-
setMjpegServerPort
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
Get the port number on which WDA broadcasts screenshots stream encoded into MJPEG format from the device under test.- Returns:
- The port number.
-