check-pages-console
v1.0.6
Published
Find pages that show errors and warning in console
Readme
Internal use
Check pages for console warnings & errors
This script scans a list of URLs and reports any console.warn or console.error messages logged by the browser.
📝 Step 1: Create check-pages.json
Create a check-pages.json file in your project root, containing the list of URLs to check:
[
"http://localhost:8080",
"http://localhost:8080/components",
"http://localhost:8080/pricing",
"http://localhost:8080/payment"
]▶️ Step 2: Run the Script
Run the script using:
npx check-pages-consoleThe script will launch a headless browser, visit each URL, and display any console.warn or console.error messages found.
