emulate_device
Override device metrics and user-agent to mimic mobile or desktop devices. Choose from presets like iPhone 15, Pixel 8, Galaxy S23.
Instructions
Emulate a device via CDP Emulation.setDeviceMetricsOverride + UA override.
Presets: iphone-15, iphone-se, pixel-8, galaxy-s23, ipad, desktop (reset).
Also sets the matching User-Agent string so UA-sniffing backends respond
with the mobile variant.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| preset | No | desktop |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |