package
2.0.0+incompatible
Repository: https://github.com/grafana/xk6-browser.git
Documentation: pkg.go.dev

# Functions

CDPDefaultHandler is a default handler for the CDP WS server.
NewServer returns a fully configured and running WS test server.
WithCDPHandler attaches a custom CDP handler function to Server.
WithClosureAbnormalHandler attaches an abnormal closure behavior to Server.
WithEchoHandler attaches an echo handler to Server.

# Structs

Server can be used as a test alternative to a real CDP compatible browser.