puppeteer/docs/api/puppeteer.device.md

19 lines
478 B
Markdown
Raw Normal View History

2022-07-05 13:41:43 +00:00
---
sidebar_label: Device
---
# Device interface
#### Signature:
2022-07-05 13:41:43 +00:00
```typescript
export interface Device
```
## Properties
| Property | Modifiers | Type | Description | Default |
| --------- | --------- | ----------------------------------- | ----------- | ------- |
| userAgent | | string | | |
| viewport | | [Viewport](./puppeteer.viewport.md) | | |