Skip to content
masterclass Buddy

Playwright · Command

playwright test --ui

Playwright UI Mode lets you run and debug tests through a visual interface. It supports filters, traces, locator picking, DOM snapshots, and watch mode.

Last updated

Syntax

npx playwright test --ui

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • Running and debugging tests
  • Playwright Inspector
  • HTML Reporter
  • locator picker
  • watch mode
  • trace
  • DOM snapshot

Source: UI Mode | Playwright. Checked 2026-11-03.