Commit Graph
5 Commits
Author SHA1 Message Date
Pratyush Sharma 84fadb7481 Report server exit code instead of pipe error
When the node server exits early, writing its config to the dead stdin
raised BrokenPipeError (EINVAL on Windows), burying the real cause.
communicate() ignores both, so the underlying failure stays visible.

Refs #656
2026-07-15 18:31:52 +05:30
Pratyush Sharma 5bf8081aec Fix server launch on Playwright 1.60
Playwright 1.60 bundled its internals and removed the private
lib/browserServerImpl.js that launchServer.js required, so
`python -m camoufox server` died with MODULE_NOT_FOUND. Load the
driver's package entrypoint instead, which is a bundled playwright-core
and exposes launchServer as public API.

The driver path is now passed explicitly rather than inferred from
process.cwd().

Fixes #656
2026-07-15 18:31:36 +05:30
vihangatheturtle f5def98300 Update server.py 2024-12-17 17:57:50 +00:00
daijro 964f49028c pythonlib: Fix broken import #70 0.3.8 2024-11-04 13:18:10 -06:00
daijro 79c436e506 pythonlib: Add remote server launching #7
Uses a hacky work around to run Javascript in Playwright's internal library to gain access to the launchServer method.
2024-10-02 02:45:26 -05:00