Chrome DevTools Protocol

Methods

DeviceAccess.cancelPrompt

Cancel a prompt in response to a DeviceAccess.deviceRequestPrompted event.

parameters
id
RequestId

DeviceAccess.disable

Disable events in this domain.

DeviceAccess.enable

Enable events in this domain.

DeviceAccess.selectPrompt

Select a device in response to a DeviceAccess.deviceRequestPrompted event.

parameters
id
RequestId
deviceId
DeviceId

Events

DeviceAccess.deviceRequestPrompted

A device request opened a user prompt to select a device. Respond with the selectPrompt or cancelPrompt command.

parameters
id
RequestId
devices
array[ PromptDevice ]

Types

DeviceAccess.DeviceId

A device id.

Type: string

DeviceAccess.PromptDevice

Device information displayed in a user prompt to select a device.

Type: object

properties
id
DeviceId
name
string

Display name as it appears in a device request user prompt.

DeviceAccess.RequestId

Device request id.

Type: string