DevBrowser fails without local Playwright browser binaries

t-620·WorkTask·
·
·
Created2 days ago·Updated2 days ago

Dependencies

Description

Edit

Running _/bin/dev-browser fails with Playwright error: Executable doesn't exist at ~/.cache/ms-playwright/.../headless_shell. DevBrowser tool currently depends on per-user browser downloads and silently fails (existing server returned timeouts). Need to ensure DevBrowser package includes browser binaries or startup surfaces install guidance clearly.

Timeline (4)

💬[human]2 days ago

DevBrowser initially failed due missing playwright browser and shared library resolution. Workaround used for this audit: launch with PLAYWRIGHT_CHROMIUM_EXECUTABLE_PATH=/home/ben/.nix-profile/bin/chromium. This allowed successful navigation, eval, and screenshot capture for /tasks, /news/, /files. Tooling issue remains open for proper packaging/docs.

💬[human]2 days ago

As a stopgap, we could just set this variable in the repo's .envrc file so it gets loaded by direnv automatically.