@@ -96,3 +96,10 @@ environments) will automatically be propagated to your Puppeteer tests.
If you're not using a smart deployment job, you may still explicitly declare the `PUPPETEER_BASE_URL` variable (but that
will be unfortunately hardcoded to a single server).
### Hook scripts
The Puppeteer template supports _optional_ **hook scripts** from your project, located in the `$PUPPETEER_PROJECT_DIR` directory to perform additional project-specific logic:
*`pre-puppeteer.sh` is executed **before** running Puppeteer,
*`post-puppeteer.sh` is executed **after** running Puppeteer (whichever the tests status).