@alfe.ai/browser
v0.3.1
Published
CDP-driven browser surface for the Alfe interactive remote-control relay — one shared headless Chrome for agent automation + human co-browse takeover
Downloads
500
Readme
@alfe.ai/browser
CDP-driven shared browser surface for Alfe agent automation and human co-browse takeover. One persistent Chrome profile is streamed to authorized viewers while an explicit controller session owns all human input.
Install
npm install @alfe.ai/browserCallers provide the Chrome executable/profile paths and should provide
isNavigationAllowed for their network policy. The predicate is applied both
to agent navigation and every intercepted page request, including redirects
and human-clicked navigation. The package bounds viewports, screencast frames,
automation input/results, and keeps replacement Chrome/CDP generations from
mutating current state.
Browser integration verification
Run BROWSER_TEST_EXECUTABLE_PATH=/path/to/chrome pnpm test:integration from
this package. This dedicated suite launches a real headless Chrome with a fresh
temporary profile and local HTTP/WebSocket fixtures. It exercises streamed
JPEGs, human keyboard/mouse input, login popups, hand-back, and cookie persistence
after browser restart; it never attaches to an existing browser profile.
Part of Alfe. See the documentation for platform setup.
