Class DeviceAccess


  • @Beta
    public class DeviceAccess
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      DeviceAccess()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static org.openqa.selenium.devtools.Command<java.lang.Void> cancelPrompt​(RequestId id)
      Cancel a prompt in response to a DeviceAccess.deviceRequestPrompted event.
      static org.openqa.selenium.devtools.Event<DeviceRequestPrompted> deviceRequestPrompted()  
      static org.openqa.selenium.devtools.Command<java.lang.Void> disable()
      Disable events in this domain.
      static org.openqa.selenium.devtools.Command<java.lang.Void> enable()
      Enable events in this domain.
      static org.openqa.selenium.devtools.Command<java.lang.Void> selectPrompt​(RequestId id, DeviceId deviceId)
      Select a device in response to a DeviceAccess.deviceRequestPrompted event.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DeviceAccess

        public DeviceAccess()
    • Method Detail

      • enable

        public static org.openqa.selenium.devtools.Command<java.lang.Void> enable()
        Enable events in this domain.
      • disable

        public static org.openqa.selenium.devtools.Command<java.lang.Void> disable()
        Disable events in this domain.
      • selectPrompt

        public static org.openqa.selenium.devtools.Command<java.lang.Void> selectPrompt​(RequestId id,
                                                                                        DeviceId deviceId)
        Select a device in response to a DeviceAccess.deviceRequestPrompted event.
      • cancelPrompt

        public static org.openqa.selenium.devtools.Command<java.lang.Void> cancelPrompt​(RequestId id)
        Cancel a prompt in response to a DeviceAccess.deviceRequestPrompted event.
      • deviceRequestPrompted

        public static org.openqa.selenium.devtools.Event<DeviceRequestPrompted> deviceRequestPrompted()