Class WebrtcData
java.lang.Object
io.appium.java_client.remote.options.BaseMapOptionData<WebrtcData>
io.appium.java_client.safari.options.WebrtcData
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet whether to disable ICE candidates filtering.Get whether to disable insecure media capture.withDisableIceCandidateFiltering(boolean disabled) To protect a user's privacy, Safari normally filters out WebRTC ICE candidates that correspond to internal network addresses when capture devices are not in use.withDisableInsecureMediaCapture(boolean disabled) Normally, Safari refuses to allow media capture over insecure connections.Methods inherited from class io.appium.java_client.remote.options.BaseMapOptionData
assignOptionValue, getOptionValue, toJson, toMap, toString
-
Constructor Details
-
WebrtcData
public WebrtcData() -
WebrtcData
-
-
Method Details
-
withDisableInsecureMediaCapture
Normally, Safari refuses to allow media capture over insecure connections. This restriction is relaxed by default for WebDriver sessions for testing purposes (for example, a test web server not configured for HTTPS). When this capability is specified, Safari will revert to the normal behavior of preventing media capture over insecure connections.- Parameters:
disabled- True to disable insecure media capture.- Returns:
- self instance for chaining.
-
doesDisableInsecureMediaCapture
Get whether to disable insecure media capture.- Returns:
- True or false.
-
withDisableIceCandidateFiltering
To protect a user's privacy, Safari normally filters out WebRTC ICE candidates that correspond to internal network addresses when capture devices are not in use. This capability suppresses ICE candidate filtering so that both internal and external network addresses are always sent as ICE candidates.- Parameters:
disabled- True to disable ICE candidates filtering.- Returns:
- self instance for chaining.
-
doesDisableIceCandidateFiltering
Get whether to disable ICE candidates filtering.- Returns:
- True or false.
-