Handle a new page (popup)
Medium70 pts~25 min
- Help Center
Practice app · Help Center
Links and buttons that open new tabs and windows.
Your starter code already declares TEST_URL — never hardcode a host.
Objective
Handle a new page (popup). Practise it against the Help Center practice application (Links and buttons that open new tabs and windows.).
Your task
- 1Open the practice application at the test URL shown above and wait for it to finish loading.
- 2Inspect the page to find the elements you need — key elements include
#window-heading,#open-tab,#open-window. - 3Write and run a test that demonstrates: handle a new page (popup).
- 4Finish with at least one assertion on a user-visible outcome, not an internal detail.
Acceptance criteria
- The test runs to completion without errors.
- The test contains at least one passing assertion on a user-visible outcome.
Playwright · Playwright · Actions & inputs