Code generation, replay, and debugging
- Have node installed: https://nodejs.org/en/download/
- Download code and
npm i
npx playwright install
- Launch the DEBUGGER-START command file (modify the path if needed) - To launch the persistent browser
- Have VS Code extension for Playwright installed (https://marketplace.visualstudio.com/items?itemName=ms-playwright.playwright) and debug/play the test at the code level. Or...
npx playwright test
to run from command line.
- The post that helped me get this working: microsoft/playwright#11442
- https://playwright.dev/docs/getting-started-vscode
- https://marketplace.visualstudio.com/items?itemName=ms-playwright.playwright
- https://chromewebstore.google.com/detail/playwright-chrome-recorde/bfnbgoehgplaehdceponclakmhlgjlpd?pli=1