- Create a new Python virtual environment:
python3 -m venv .venv
- Activate the Python virtual environment:
. .venv/bin/activate
- Install the Python dependencies:
python3 -m pip install -r requirements.txt
- Let playwright install the browser(s) you want to use:
python3 -m playwright install firefox chromium
- Read the usage instructions:
./app.py -h
Example usage:
./app.py -b chromium -u https://www.1point21interactive.com/
- Errors are logged to STDERR.
- The script finishes with a non-zero status code if at least 1 JS error was detected.