Skip to content
Target QATargetQA

Playwright JavaScript Modals, Popups & Overlays Automation Labs

Practice handling dismissible overlay backdrops, marketing newsletter popups, cookie consent banners, and CSS modal dialogs.

Playwright · JavaScript
Challenges
111
Websites
10
Progress
—

Sign in to run, submit and track progress. Guests can browse and read every challenge.

Sign in
Showing 6 of 6 matching · 111 total
  1. Popups & Dialogs#009ShopZone

    Accept the cookie consent banner

    A cookie banner covers the bottom of the page on first visit. Accept all cookies and verify the banner is gone and the preference is recorded.

    • Overlays
    • Visibility
    • Assertions
    Easy 8m25 pts
    Solve
  2. Popups & Dialogs#020FlipMart

    Handle the login-required wishlist dialog

    As a signed-out shopper, tap a wishlist heart. Verify the login-required dialog, continue to login from it, and check that the login page knows which product you wanted to save.

    • Modals
    • Role locators
    • Gated actions
    Easy 10m30 pts
    Solve
  3. Popups & Dialogs#024StyleKart

    Close the delayed newsletter popup

    About two seconds after the home page loads, a newsletter dialog offers ₹100 off. Wait for it without fixed sleeps, close it with the × button and verify the footer records that the popup was dismissed.

    • Explicit waits
    • Modals
    • Delayed content
    Easy 8m25 pts
    Solve
  4. Popups & Dialogs#039StayNest

    Navigate the photo gallery dialog

    Open the photo tour of Casa Azulejo, step through it with Next and Previous, close it with Escape and reopen it on the third photo.

    • Modals
    • Keyboard input
    • Dynamic text
    Easy 10m30 pts
    Solve
  5. Popups & Dialogs#050SkyWay

    Choose a fare in the fare selection modal

    Select the Kestrel Airways KS 803 flight, choose the Flex fare in the fare dialog, and verify the booking continues with that fare.

    • Modals
    • Radio buttons
    • Scoped locators
    Easy 10m30 pts
    Solve
  6. Popups & Dialogs#060FoodRush

    Customise a pizza and verify the live price

    Open Slice Theory, customise a Farmhouse Pizza in its dialog (Medium size with Extra cheese and Jalapeños), check the live price, and add it to the cart.

    • Modal dialogs
    • Radio buttons
    • Checkboxes
    Medium 15m50 pts
    Solve

FAQ

Playwright JavaScript Modals, Overlays & Popups FAQ

How do I practice Modals, Overlays & Popups in Playwright with JavaScript?

Choose any challenge below, write your Playwright test script in JavaScript, and execute it against our realistic mock websites. TargetQA tests your code in isolated cloud browsers and checks each acceptance step automatically.

What scenarios are included in the Modals, Overlays & Popups labs?

Practice handling dismissible overlay backdrops, marketing newsletter popups, cookie consent banners, and CSS modal dialogs.