For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Discord
DocsAPI Reference
DocsAPI Reference
  • Get Started
    • Welcome
    • Introduction
    • Quick Start
  • Run
    • Run Videos
    • Run Mode
    • Viewport Size
    • Preparation Test
    • Pull Request Testing
    • Production Monitoring
    • Group Webhooks
    • Run Troubleshooting
  • Auth
    • Test Credentials
    • API Keys
    • Agent Mail Inboxes
    • HTTP Basic Auth
    • Auth Troubleshooting
  • Mobile
    • Overview
    • App Uploads
    • Expo EAS
    • GitHub Actions
  • Integrations
    • Vercel
    • Coolify
    • Custom Infrastructure
    • Slack
    • Discord
  • Guides
    • Testing Staging Environment
  • CLI
    • Getting Started
    • Local Development
    • Agentic Usage
  • AI
    • LLMs
LogoLogo
Discord
On this page
  • Change Viewport Size
  • Writing Test Steps
Run

Viewport Size

||View as Markdown|
Was this page helpful?
Edit this page
Previous

Run Mode

Next

Preparation Test

Built with

Use test settings to run a web test at a different browser viewport size. The viewport is fixed before the run starts; the agent cannot resize the browser, page, screen, window, or viewport from inside a test step.

Change Viewport Size

  1. Open the project that contains the test.
  2. Open the test you want to run at a different size.
  3. Open Test settings.
  4. Select Viewport Size.
  5. Save the test.
  6. Run the test again.

The selected viewport applies to future runs of that test. Existing runs keep the viewport they started with.

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 with VIEWPORT_RESIZE_UNSUPPORTED, update the test settings and retry the run.