PW Playwright · TSFree course: Playwright with TypeScript
Full course

Chapter 6 · Lesson 4

Which tool when

Difficulty: Easy
Slides
Use the arrow keys, N for notes, F for full screenOpen in a separate window ↗
Video lesson

Key points

ToolWhen to use it
The terminalA quick run, or an automatic run on a server
HTML reportTo summarise a run: what passed, what failed, and (roughly) why
Trace ViewerTo investigate a failure in depth, even after the run ended and on another machine
UI ModeTo develop and fix tests while you work

Rule of thumb

Work in UI Mode, summarise in the report, and investigate a remote failure in Trace Viewer.

Practice

Try it yourself