mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
26 lines
605 B
Markdown
26 lines
605 B
Markdown
---
|
|
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
|
|
|
|
| Parameter | Type | Description |
|
|
| --------- | --------------------------------------------------------------------- | ----------- |
|
|
| device | [DeviceRequestPromptDevice](./puppeteer.devicerequestpromptdevice.md) | |
|
|
|
|
**Returns:**
|
|
|
|
Promise<void>
|