Supported Viewport Sizes
Web tests run at one of these presets. The API and MCP tools select a preset by name:
Pick
desktop-hd when the UI under test is dense or cramped at 1280 x 800 - for example wide data grids or multi-column dashboards - so the agent sees it at its intended size.
Other sizes are not supported: the browser infrastructure runs at a fixed set of display resolutions, so the API rejects anything but these preset names.
Change Viewport Size
- Open the project that contains the test.
- Open the test you want to run at a different size.
- Open Test settings.
- Select Viewport Size.
- Save the test.
- Run the test again.
Writing Test Steps
Do not add steps such as “resize the page to mobile” or “change the browser to 390px wide”. Instead, configure the test viewport first, then write steps that describe the user behavior to verify at that size. If a run fails withVIEWPORT_RESIZE_UNSUPPORTED, update the test settings and retry the run.