chromedriverproxy

package
v0.0.0-...-6026c52 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 10, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL