Class SafariDriver

    • Method Detail

      • setPermissions

        public void setPermissions​(java.lang.String permission,
                                   boolean value)
        Description copied from interface: HasPermissions
        Set permission on the browser. The only supported permission at this time is "getUserMedia".
        Specified by:
        setPermissions in interface HasPermissions
        permission - the name of the item to set permission on.
        value - whether the permission has been granted.
      • getPermissions

        public java.util.Map<java.lang.String,​java.lang.Boolean> getPermissions()
        Specified by:
        getPermissions in interface HasPermissions
        each permission and whether it is allowed or not.
      • attachDebugger

        public void attachDebugger()
        Description copied from interface: HasDebugger
        This opens Safari's Web Inspector If driver subsequently executes script of "debugger;" the execution will pause, no additional commands will be processed, and the code will time out.
        Specified by:
        attachDebugger in interface HasDebugger