puppeteer/website/versioned_docs/version-19.1.0/api/puppeteer.device.md

19 lines
577 B
Markdown
Raw Normal View History

2022-10-14 12:54:46 +00:00
---
sidebar_label: Device
---
# Device interface
**Signature:**
2022-10-14 12:54:46 +00:00
```typescript
export interface Device
```
## Properties
| Property | Modifiers | Type | Description |
| -------------------------------------------- | --------- | ----------------------------------- | ----------- |
| [userAgent](./puppeteer.device.useragent.md) | | string | |
| [viewport](./puppeteer.device.viewport.md) | | [Viewport](./puppeteer.viewport.md) | |