BrauzerLab

Playwright Missions

50 interactive missions — from locators to full end-to-end scenarios.

Progress 0 / 50

Using Locators

0 / 12
  1. First Click

    ~1 min
  2. Find by Text

    ~2 min
  3. Find a Field by Label

    ~2 min
  4. Find by Placeholder

    ~2 min
  5. data-testid — The Gold Standard

    ~2 min
  6. Find the Sale Card

    ~3 min
  7. Filter by Inner Element

    ~3 min
  8. Locator by Position

    ~3 min
  9. Chained Locators

    ~3 min
  10. Shadow DOM — Custom Component

    ~4 min
  11. Dynamic IDs

    ~4 min
  12. Disambiguate Table Rows

    ~4 min

Actions

0 / 8
  1. Double Click & Right Click

    ~3 min
  2. Fill the Login Form

    ~3 min
  3. `type()` — Append Without Clearing

    ~2 min
  4. Keyboard: Tab, Enter, Escape

    ~2 min
  5. Dropdown — `selectOption`

    ~3 min
  6. Drag-and-Drop Card

    ~3 min
  7. Custom Date Picker

    ~4 min
  8. Hover → Tooltip → Click

    ~3 min

Auto-waiting

0 / 8
  1. Custom Timeout in `expect`

    ~2 min
  2. `waitForSelector` — The Legacy Pattern

    ~3 min
  3. Wait for Visibility

    ~3 min
  4. Wait for a URL Redirect

    ~3 min
  5. Wait for an API Response

    ~3 min
  6. `click()` Auto-waits for Actionability

    ~2 min
  7. Fix the Flaky Test

    ~4 min
  8. `waitForLoadState(networkidle)`

    ~4 min

Strict Mode

0 / 6
  1. `name=` Makes the Locator Unique

    ~2 min
  2. `exact: true` — Exact Text Match

    ~2 min
  3. Strict Mode — Three Identical Buttons

    ~3 min
  4. `.first()` vs `.nth(0)` — When to Use Which

    ~3 min
  5. Operating on Multiple Elements

    ~3 min
  6. Disambiguation Cookbook

    ~4 min

Assertions

0 / 6
  1. Exact vs Contains

    ~2 min
  2. Assert Input Value

    ~2 min
  3. Assert Attribute

    ~3 min
  4. Assert Count

    ~3 min
  5. Enabled / Disabled

    ~3 min
  6. Negative Assertions

    ~3 min

Network Interception

0 / 6
  1. Block Analytics

    ~4 min
  2. Empty Response: Edge Case

    ~4 min
  3. Simulate a 500 Error

    ~4 min
  4. Mock an API

    ~5 min
  5. Combo: Block + Mock

    ~5 min
  6. Slow Network

    ~5 min

Multi-step Scenarios

0 / 4
  1. Conditional Form

    ~5 min
  2. File Upload

    ~3 min
  3. Login with Validation

    ~5 min
  4. Full E2E: Shopping Checkout

    ~8 min