Interface HasPermissions

All Known Implementing Classes:
SafariDriver

@Beta public interface HasPermissions
Used by classes to indicate that they can take adjust permissions.
  • Method Details

    • setPermissions

      void setPermissions(String permission, boolean value)
      Set permission on the browser. The only supported permission at this time is "getUserMedia".
      Parameters:
      permission - the name of the item to set permission on.
      value - whether the permission has been granted.
    • getPermissions

      Map<String,Boolean> getPermissions()
      Returns:
      each permission and whether it is allowed or not.