Fayeblade
Facilitates browser automation by providing a robust bridge that communicates over `stdin/stdout` using a JSON-RPC-like protocol.
Fayeblade acts as a streamlined browser bridge designed for robust automation tasks, communicating via a JSON-RPC-like protocol over standard input/output. It leverages Playwright for real browser control, offering a single persistent context to manage optional cookie and session states. The tool supports two primary transport framers—`line` for simplicity and `content-length` for stricter host requirements—and is engineered with production stability in mind, meticulously avoiding common `asyncio` I/O pitfalls to ensure clean, protocol-only output.
主な機能
01Browser automation via Playwright with persistent context
02Robust I/O design prevents protocol mismatches
03Supports 'line' and 'content-length' transport framing
04JSON-RPC-like communication over stdin/stdout
051 GitHub stars
06Configurable through environment variables
ユースケース
01Integrating browser control into other applications or services
02Maintaining persistent browser sessions for logged-in states or specific contexts
03Automating browser navigation and interactions programmatically