puppeteer/docs/api/puppeteer.device.md
jrandolf 87c08fd86a
fix!: remove puppeteer.devices in favor of KnownDevices (#9075)
This PR removes the deprecated `puppeteer.devices` in favor of a new
exported object `KnownDevices`. `devices` can also be exported, but has
been deprecated.
2022-10-10 15:30:12 +02:00

19 lines
577 B
Markdown

---
sidebar_label: Device
---
# Device interface
**Signature:**
```typescript
export interface Device
```
## Properties
| Property | Modifiers | Type | Description |
| -------------------------------------------- | --------- | ----------------------------------- | ----------- |
| [userAgent](./puppeteer.device.useragent.md) | | string | |
| [viewport](./puppeteer.device.viewport.md) | | [Viewport](./puppeteer.viewport.md) | |