How to debug your Playwright scripts with the built-in inspector
Debugging a headless automation script can be tough. Luckily, Playwright comes with a built-in inspector tool to make all browser actions easier to debug.
Playwright inspector docs: https://playwright.dev/docs/debug#run-in-debug-mode