15 challenges · 4 parts
Playwright Interview Practice
For: People who already automate and want sharper fundamentals
Core Playwright topics you should be able to explain and use under pressure: locators you can defend, waiting and events, network and browser control, then debugging a broken test and writing your own assertions.
Try challenge 2, no sign-upPART 1
Locators you can defend
Role, label, text and scoping to the right element.
- 02Click a Buttonlocators · getByRole · click
- 06Select from a DropdownselectOption · the combobox role · select by text or value
- 10Interact with Checkboxesthe checkbox role · check and uncheck · state changes
- 11Reveal Hidden Content on Hoverhover · image alt text · hidden content
- 15Filter Table Rowsfilter() · tables · scoped locators
PART 2
Waiting and events
Auto-waiting, dialogs and listeners set up in time.
PART 3
Network and browser
Capture, mock and intercept requests; frames and popups.
- 16Capture a Network ResponsewaitForResponse · Promise.all · start waiting before acting
- 18Interact Inside an iFrameframeLocator · embedded documents · scoped locators
- 20Handle a Popup Windownew pages · waitForEvent · listener before action
- 21Mock a GET Requestpage.route · route.fulfill · mock data
- 22Intercept a Form POSTrouting by method · route.continue · stubbed responses
- 24Inspect Network Payloadrequest bodies · postData · values known only at run time
PART 4
Write and debug the whole test
Fix a broken test and write the assertions yourself.