Scan a batch of URLs for JavaScript errors using Playwright.
Install dependencies:
npm installCreate a line separated file with URLs to scan.
https://example.com
https://example.org
Save as urls.txt in the /data directory
Run the script:
npm start -- data/urls.txt