puppeteer/docs/api/puppeteer.devicerequestprompt.select.md

47 lines
545 B
Markdown
Raw Permalink Normal View History

---
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
<table><thead><tr><th>
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>
**Returns:**
Promise&lt;void&gt;