Interface SupportsIgnoreHiddenApiPolicyErrorOption<T extends BaseOptions<T>>
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,Serializable
- All Known Implementing Classes:
EspressoOptions,UiAutomator2Options
public interface SupportsIgnoreHiddenApiPolicyErrorOption<T extends BaseOptions<T>>
extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGet whether to ignore a failure while changing hidden API access policies.default TPrevents the driver from ever killing the ADB server explicitl.default TsetIgnoreHiddenApiPolicyError(boolean value) Being set to true ignores a failure while changing hidden API access policies.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
-
IGNORE_HIDDEN_API_POLICY_ERROR_OPTION
- See Also:
-
-
Method Details
-
ignoreHiddenApiPolicyError
Prevents the driver from ever killing the ADB server explicitl.- Returns:
- self instance for chaining.
-
setIgnoreHiddenApiPolicyError
Being set to true ignores a failure while changing hidden API access policies. Could be useful on some devices, where access to these policies has been locked by its vendor. false by default.- Parameters:
value- Whether to ignore a failure while changing hidden API access policies.- Returns:
- self instance for chaining.
-
doesIgnoreHiddenApiPolicyError
Get whether to ignore a failure while changing hidden API access policies.- Returns:
- True or false.
-