Install Playwright and run the example
Easy30 pts
- Playwright Setup
- Navigation
- Web-first Assertions
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
Launch a Playwright browser context, open the practice store, and verify that the page title is correct.
Your Task
- 1Open the practice application by navigating to TEST_URL.
- 2Locate the main store heading
#page-title. - 3Assert that the heading contains the text 'Welcome to the practice store'.
Validation Checks
- The test navigates to TEST_URL
- Heading
#page-titleis visible on the page - At least 1 assertion passes
Playwright · Playwright Practice Track · Setup & first test