Package org.openqa.selenium.safari
Interface HasPermissions
- All Known Implementing Classes:
SafariDriver
Used by classes to indicate that they can take adjust permissions.
Method Summary
Modifier and TypeMethodDescriptionvoidsetPermissions(String permission, boolean value) Set permission on the browser.
Method Details
setPermissions
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
- Returns:
- each permission and whether it is allowed or not.