Class DeviceAccess
java.lang.Object
org.openqa.selenium.devtools.v138.deviceaccess.DeviceAccess
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.openqa.selenium.devtools.Command
<Void> Cancel a prompt in response to a DeviceAccess.deviceRequestPrompted event.static org.openqa.selenium.devtools.Event
<DeviceRequestPrompted> static org.openqa.selenium.devtools.Command
<Void> disable()
Disable events in this domain.static org.openqa.selenium.devtools.Command
<Void> enable()
Enable events in this domain.static org.openqa.selenium.devtools.Command
<Void> selectPrompt
(RequestId id, DeviceId deviceId) Select a device in response to a DeviceAccess.deviceRequestPrompted event.
-
Constructor Details
-
DeviceAccess
public DeviceAccess()
-
-
Method Details
-
enable
Enable events in this domain. -
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
Cancel a prompt in response to a DeviceAccess.deviceRequestPrompted event. -
deviceRequestPrompted
-