Interface SupportsAutoGrantPermissionsOption<T extends BaseOptions<T>>

    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default T autoGrantPermissions()
      Enables granting of all the requested application permissions automatically when a test starts.
      default java.util.Optional<java.lang.Boolean> doesAutoGrantPermissions()
      Get whether to grant all the requested application permissions automatically when a test starts.
      default T setAutoGrantPermissions​(boolean value)
      Whether to grant all the requested application permissions automatically when a test starts(true).
      • Methods inherited from interface org.openqa.selenium.Capabilities

        asMap, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatform, getPlatformName, getVersion, is, merge
    • Field Detail

      • AUTO_GRANT_PERMISSIONS_OPTION

        static final java.lang.String AUTO_GRANT_PERMISSIONS_OPTION
        See Also:
        Constant Field Values
    • Method Detail

      • autoGrantPermissions

        default T autoGrantPermissions()
        Enables granting of all the requested application permissions automatically when a test starts.
        Returns:
        self instance for chaining.
      • setAutoGrantPermissions

        default T setAutoGrantPermissions​(boolean value)
        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

        default java.util.Optional<java.lang.Boolean> doesAutoGrantPermissions()
        Get whether to grant all the requested application permissions automatically when a test starts.
        Returns:
        True if the permissions should be granted.