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

19 lines
618 B
Markdown
Raw Normal View History

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