Class DeviceAccess
- java.lang.Object
-
- org.openqa.selenium.devtools.v112.deviceaccess.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.
-
-
-
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()
-
-