2023-03-29 07:39:41 +00:00
|
|
|
---
|
|
|
|
sidebar_label: DeviceRequestPrompt.select
|
|
|
|
---
|
|
|
|
|
|
|
|
# DeviceRequestPrompt.select() method
|
|
|
|
|
|
|
|
Select a device in the prompt's list.
|
|
|
|
|
|
|
|
#### Signature:
|
|
|
|
|
|
|
|
```typescript
|
|
|
|
class DeviceRequestPrompt {
|
|
|
|
select(device: DeviceRequestPromptDevice): Promise<void>;
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
## Parameters
|
|
|
|
|
2024-03-25 13:03:57 +00:00
|
|
|
<table><thead><tr><th>
|
2023-03-29 07:39:41 +00:00
|
|
|
|
2024-03-25 13:03:57 +00:00
|
|
|
Parameter
|
|
|
|
|
|
|
|
</th><th>
|
|
|
|
|
|
|
|
Type
|
|
|
|
|
|
|
|
</th><th>
|
|
|
|
|
|
|
|
Description
|
|
|
|
|
|
|
|
</th></tr></thead>
|
|
|
|
<tbody><tr><td>
|
|
|
|
|
|
|
|
device
|
|
|
|
|
|
|
|
</td><td>
|
|
|
|
|
|
|
|
[DeviceRequestPromptDevice](./puppeteer.devicerequestpromptdevice.md)
|
|
|
|
|
|
|
|
</td><td>
|
|
|
|
|
|
|
|
</td></tr>
|
|
|
|
</tbody></table>
|
2023-03-29 07:39:41 +00:00
|
|
|
**Returns:**
|
|
|
|
|
|
|
|
Promise<void>
|