This is a simple command-line tool that uses Playwright to load a given URL and print out any console messages to stdout.
Before running the tool, make sure you have Node.js installed on your system. Then, follow these steps:
- Clone or download this repository to your local machine.
- Run
npm install
to install the necessary dependencies. - Run
npx playwright install
to install the necessary browser binaries.
To use the tool, run the following command in your terminal:
- Run
npm run build
to build the tool. - Run
node index.js
to run the tool.