Commit Graph
3 Commits
Author SHA1 Message Date
Jake WriterandClaude Opus 5.5 fd99a0d85f fix(pythonlib): handle headless='virtual' in launch_server
launch_server() is documented to take the same arguments as Camoufox(),
but passed headless='virtual' straight to launch_options(), so the server
launched with no Xvfb display. Start a VirtualDisplay the way Camoufox()
does, launch headful on it, and kill it when the server process exits or
the launch fails.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-25 15:22:28 -06:00
Cloudymap1e e61642aaf5 fix(server): close browser when launcher exits 2026-07-28 00:29:11 -06:00
Pratyush Sharma ab20eca72d Add regression tests for camoufox server
Cover both failure modes from #656 and pin the driver entrypoint
contract, so a future Playwright reshuffle fails in CI rather than in a
user's terminal. No browser download or launch, so they run anywhere.

Refs #656
2026-07-15 18:32:05 +05:30