Skip to main content

Advanced Playwright options

Change advanced behavior through the configuration file editor in Settings → Playwright. Saved Playwright runs use these files; Assistant runs use their own execution settings. Browser-VU load tests read a limited set of browser-context options from one configuration while keeping headless Chromium as the browser.

Common changes​

  • Change the browser and viewport for a device profile.
  • Adjust retries and parallel execution.
  • Choose when to retain screenshots, video, and traces.
  • Configure supported Playwright request and browser options.

Copy a working configuration before making a substantial change. Preserve its TestVibe runtime, reporter, and output settings. The object passed to defineConfig(...) must remain valid JSON; do not add functions or JavaScript expressions inside it.

For project-wide limits, use the dedicated fields in Settings → Playwright: Expect timeout (ms) defaults to 30,000, and Test timeout (seconds) defaults to 300. The current supported ranges are 1,000–120,000 ms and 15–600 seconds respectively.

Keep credentials in Settings → Variables & Secrets or Browser & Auth, rather than placing passwords in a configuration file. Check a small test after changing a configuration before running the full suite.

See Playwright configurations and variables and secrets.