emulate
Simulate device conditions for web testing by emulating network throttling, CPU slowdown, geolocation, user agents, color schemes, and viewports on Chrome pages.
Instructions
Emulates various features on the selected page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| networkConditions | No | Throttle network. Omit to disable throttling. | |
| cpuThrottlingRate | No | Represents the CPU slowdown factor. Omit or set the rate to 1 to disable throttling | |
| geolocation | No | Geolocation (`<latitude>x<longitude>`) to emulate. Latitude between -90 and 90. Longitude between -180 and 180. Omit to clear the geolocation override. | |
| userAgent | No | User agent to emulate. Set to empty string to clear the user agent override. | |
| colorScheme | No | Emulate the dark or the light mode. Set to "auto" to reset to the default. | |
| viewport | No | Emulate device viewports '<width>x<height>x<devicePixelRatio>[,mobile][,touch][,landscape]'. 'touch' and 'mobile' to emulate mobile devices. 'landscape' to emulate landscape mode. |