puppeteer/docs/api/puppeteer.device.md

19 lines
618 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](./puppeteer.device.useragent.md) | | string | | |
| [viewport](./puppeteer.device.viewport.md) | | [Viewport](./puppeteer.viewport.md) | | |