Playwright · Junior · Question 9 of 75

What does npx playwright test --debug do?

Show the answer

Correct answer: Opens the Inspector and pauses so you can step through

Explanation

The Playwright Inspector lets you step through actions, see which element a locator matches and edit locators live. page.pause() stops at a specific line.

Further reading

Problem with a question

Playwright · Junior · question 9

Test yourself

Take the Playwright · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz