Ensures that Playwright functionality is not broken.
This directory is based on the original Playwright-Python tests.
It has been modified to skip tests that use the following features:
- Injecting JavaScript into the page or writing to DOM. Camoufox's
page.evaluateonly supports reading values, not executing within the page context. - Overriding the User-Agent.
- Any tests specific to Chromium or Webkit.
Cd to this directory and run the following command to setup the venv and install the dependencies:
bash setup-venv.shRun via the shell script:
bash run-tests.sh --headful --executable-path /path/to/camoufox-binOr through the Makefile:
make tests headful=true