Open and read a trace
Hard120 pts
- Playwright Trace
- tracing.start
- Debugging
Practice app · TargetQA Practice Store
A small storefront landing page for browser setup, navigation, titles, URLs and screenshots.
Your starter code already declares TEST_URL — never hardcode a host.
Objective
Enable Playwright tracing to capture screenshots and DOM snapshots during test execution.
Your Task
- 1Start tracing on the browser context with screenshots and snapshots enabled before running steps.
- 2Navigate to the store home page.
- 3Verify that #page-title is visible and matches 'TargetQA Practice Store'.
- 4Stop tracing and save the output trace archive to 'trace.zip'.
Validation Checks
- Tracing is started with screenshots and snapshots enabled
- #page-title is visible with text 'TargetQA Practice Store'
- Tracing is stopped and saved to 'trace.zip'
Playwright · QA Automation Practice Track · Debugging & traces