Interface SupportsAutoGrantPermissionsOption<T extends BaseOptions<T>>
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,Serializable
- All Known Implementing Classes:
EspressoOptions,UiAutomator2Options
public interface SupportsAutoGrantPermissionsOption<T extends BaseOptions<T>>
extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault TEnables granting of all the requested application permissions automatically when a test starts.Get whether to grant all the requested application permissions automatically when a test starts.default TsetAutoGrantPermissions(boolean value) Whether to grant all the requested application permissions automatically when a test starts(true).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
-
AUTO_GRANT_PERMISSIONS_OPTION
- See Also:
-
-
Method Details
-
autoGrantPermissions
Enables granting of all the requested application permissions automatically when a test starts.- Returns:
- self instance for chaining.
-
setAutoGrantPermissions
Whether to grant all the requested application permissions automatically when a test starts(true). false by default.- Parameters:
value- Whether to enable or disable automatic permissions granting.- Returns:
- self instance for chaining.
-
doesAutoGrantPermissions
Get whether to grant all the requested application permissions automatically when a test starts.- Returns:
- True if the permissions should be granted.
-