2023-03-27 11:16:51 +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-20 15:03:14 +00:00
|
|
|
<table><thead><tr><th>
|
2023-03-27 11:16:51 +00:00
|
|
|
|
2024-03-20 15:03:14 +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-27 11:16:51 +00:00
|
|
|
**Returns:**
|
|
|
|
|
|
|
|
Promise<void>
|