TRACK ENGINE: ONLINE
POINTS: 0/680
Back to Ladder
Stage 4: Page States & Dialogsintermediate

Page States & Dialogs

Automate advanced interactions: iframes, JavaScript alerts, file transfers, and popup windows.

Status0% Complete
0/30
Solved
~9h
Hours
0/680
Points

Modules

6 Modules
1

Module 1: Page Object Model

Implement Page Object Models, construct locators inside class variables, create action/assertion methods, and group components.

0/6 SOLVED
StatusDrill TitleDifficultyPointsAction
Page Object Model Design Pattern
LoginPage
intermediate20pts Start Track
Defining POM Locators in constructor
this.usernameInputconstructor
intermediate20pts Start Track
POM class action login method
login
intermediate20pts Start Track
POM class assertion verification
verifyTitle
intermediate20pts Start Track
Using Page Objects in spec files
LoginPage
intermediate20pts Start Track
Component Object Navigation Navbar
Navbar
intermediate20pts Start Track
2

Module 2: Fixtures & Hooks

Structure test suites hooks: beforeAll, afterAll, beforeEach, afterEach, and extend custom fixtures setups.

0/6 SOLVED
StatusDrill TitleDifficultyPointsAction
Group Setups using beforeAll hook
test.beforeAllbeforeAll
intermediate20pts Start Track
Group Teardowns using afterAll hook
test.afterAllafterAll
intermediate20pts Start Track
Running setup inside beforeEach
test.beforeEachbeforeEach
intermediate20pts Start Track
Running cleanup inside afterEach
test.afterEachafterEach
intermediate20pts Start Track
Built-in fixtures page context browser
pagecontextbrowser
intermediate20pts Start Track
Creating Custom Fixtures extend
test.extendextend
intermediate20pts Start Track
3

Module 3: File Transfers

Handle file uploads, upload from buffer, manage file choosers, wait for downloads, and save files.

0/6 SOLVED
StatusDrill TitleDifficultyPointsAction
Listening for File Chooser events
waitForEventfilechooser
intermediate20pts Start Track
Wait for file downloads events
waitForEventdownload
intermediate20pts Start Track
Extracting path and suggested filename
suggestedFilename
intermediate20pts Start Track
Save download files locally
saveAs
intermediate20pts Start Track
Cancel running download streams
cancel
intermediate20pts Start Track
Upload virtual files from Buffer
setInputFiles
intermediate20pts Start Track
4

Module 4: Tabs & Contexts

Manage multi-tab workflows, capture popups, orchestrate isolated contexts, and close sessions.

0/4 SOLVED
StatusDrill TitleDifficultyPointsAction
Manage multiple tabs context pages
context.pagespages
advanced30pts Start Track
Popup Page Capture and asserts
waitForEventpopup
advanced30pts Start Track
Creating multiple isolated contexts
browser.newContextnewContext
advanced30pts Start Track
Close secondary context sessions
context.closeclose
advanced30pts Start Track
5

Module 5: Iframes & Dialogs

Traverse iframe scopes, handle nested frames, and accept/dismiss browser JS dialog events.

0/4 SOLVED
StatusDrill TitleDifficultyPointsAction
Iframe Element access frameLocator
page.frameLocatorframeLocator
intermediate20pts Start Track
Locating Frames by name or URL
page.frameframe
intermediate20pts Start Track
Chaining Nested frameLocator rules
frameLocator
intermediate20pts Start Track
Handling window alert dialogs
page.ondialog
intermediate20pts Start Track
6

Module 6: Custom Fixtures

Extend test scopes, manage worker fixtures, yield values with use(), and write auto fixtures.

0/4 SOLVED
PPPlaywright Pad

The premium, browser-first learning portal for QA automation engineers. Practice Playwright test automation online with interactive tutorials, coding challenges, and a real browser IDE.

Legal

Stay in the loop

Get product updates, tips, and testing wisdom.

No spam. Unsubscribe anytime.

Β© 2026 Playwright Pad. All rights reserved.
Made with for Developers