java.lang.Object
org.openqa.selenium.devtools.v119.deviceaccess.DeviceAccess

@Beta public class DeviceAccess extends Object
  • Constructor Details

    • DeviceAccess

      public DeviceAccess()
  • Method Details

    • enable

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

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

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

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

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