emulate_device
Emulate mobile devices by adjusting viewport, pixel ratio, and touch settings via Chrome DevTools Protocol for responsive web testing.
Instructions
Emulate a mobile device using Chrome DevTools Protocol. Adjusts viewport, pixel ratio, and touch.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | Custom width (overrides device preset) | |
| device | No | Preset device name | |
| height | No | Custom height | |
| mobile | No | Mobile flag | |
| pixel_ratio | No |