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

19 lines
478 B
Markdown
Raw Normal View History

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