Documentation ¶ Index ¶ func Handler(logger *slog.Logger, opts *Options) http.Handler type Options Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Handler ¶ func Handler(logger *slog.Logger, opts *Options) http.Handler Handler proxies HTTP and WebSocket traffic to an internal ChromeDriver instance. It injects `goog:chromeOptions.debuggerAddress` during session creation so ChromeDriver attaches to the existing Chromium process instead of launching another browser. Types ¶ type Options ¶ type Options struct { ChromeDriverUpstream string DevToolsProxyAddr string } Options controls which upstream ChromeDriver to proxy to, and which DevTools proxy address should be injected into WebDriver/BiDi session creation. Source Files ¶ View all Source files proxy.go Click to show internal directories. Click to hide internal directories.