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

69 lines
751 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>
id
</td><td>
</td><td>
string
</td><td>
Device id during a prompt.
</td></tr>
<tr><td>
name
</td><td>
</td><td>
string
</td><td>
Device name as it appears in a prompt.
</td></tr>
</tbody></table>