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

69 lines
795 B
Markdown
Raw Normal View History

---
sidebar_label: DeviceRequestPromptDevice
---
# DeviceRequestPromptDevice class
Device in a request prompt.
#### Signature:
```typescript
export declare class DeviceRequestPromptDevice
```
## Remarks
The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the `DeviceRequestPromptDevice` class.
## Properties
<table><thead><tr><th>
Property
</th><th>
Modifiers
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
<span id="id">id</span>
</td><td>
</td><td>
string
</td><td>
Device id during a prompt.
</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></tr>
</tbody></table>