Back to Puppeteer

DeviceRequestPromptDevice interface

website/versioned_docs/version-24.40.0/api/puppeteer.devicerequestpromptdevice.md

19.2.2587 B
Original Source

DeviceRequestPromptDevice interface

Device in a request prompt.

Signature

typescript
export interface DeviceRequestPromptDevice

Properties

<table><thead><tr><th>

Property

</th><th>

Modifiers

</th><th>

Type

</th><th>

Description

</th><th>

Default

</th></tr></thead> <tbody><tr><td>

<span id="id">id</span>

</td><td> </td><td>

string

</td><td>

Device id during a prompt.

</td><td> </td></tr> <tr><td>

<span id="name">name</span>

</td><td> </td><td>

string

</td><td>

Device name as it appears in a prompt.

</td><td> </td></tr> </tbody></table>