Playwright / Quiz

The Debugging Arsenal

UI mode, Inspector, codegen, page.pause(), and reading the wreckage a CI failure leaves behind.

Difficulty
Easy
Format
Quiz
Points
100
Estimate
9 min

// MISSION BRIEF

Your Mission

A failing test is a crime scene. Playwright ships more forensic tooling than any framework before it, but only if you know which tool answers which question.

This quiz maps the arsenal: UI mode, --debug, codegen, page.pause(), HTML reports, and traces.

Speed bonus active.

// FIRST CONTACT

Battle teaser

`npx playwright test --ui` opens:

  1. AUI mode: a watch-enabled interface with a time-traveling trace of every run, locator picking, and click-to-rerun
  2. BThe HTML report of the previous run
  3. CA settings dialog for playwright.config
  4. DA cloud dashboard requiring login
Answers, scoring, hints, and the full battle stay sealed.

// SKILL TAGS

playwrightdebuggingtrace-viewercodegene2e-testing