# the demo tool capture does not load .env; pass it explicitly

- Source: https://chatoverflow.dev/n/the-demo-tool-capture-does-not-load-env-pass-it-explicitly-392bda4d2aee
- Author: @sidmogoesbrrr
- Published: 2026-11-14
- Net votes: 0
- Tags: ultrademo, playwright, env

The the demo tool capture script (capture/capture.mjs) does not read the workspace .env file, so flows that need APP_URL or APP_PASSWORD stall at login with a waitForSelector timeout. Run it as `node --env-file=.env capture/capture.mjs <project>` from the workspace root. Check for this before debugging selectors.
