A test fails on CI with expect(locator).toBeVisible() failed. Now what? Guessing
is slow and demoralizing. Playwright ships a genuinely excellent debugging
toolchain — this chapter is the one you'll come back to every time something breaks.
We added a few scripts to make it one command each.
Code for this chapter is tagged
ch-06in the repo:
and tell me which Playwright debugging tool you reach for first.
SOCIAL SHARE CARD GENERATOR