Playwright

Record video on failure

Medium70 pts
  • Video Recording
  • retain-on-failure
  • Debugging
Practice app · TargetQA Practice Store

A small storefront landing page for browser setup, navigation, titles, URLs and screenshots.

Test URL
/lab/qa-automation-record-video-on-failure

Your starter code already declares TEST_URL — never hardcode a host.

Objective

Configure video recording to capture execution runs for debugging failed tests.

Your Task

  1. 1Configure video recording mode for the test execution.
  2. 2Navigate to the store home page.
  3. 3Assert that #page-title is visible.

Validation Checks

  • Video recording configuration is specified
  • #page-title is visible
  • At least 1 assertion passes

Playwright · QA Automation Practice Track · Debugging & traces