package
0.116.2
Repository: https://github.com/go-rod/rod.git
Documentation: pkg.go.dev

# README

Overview

This client is directly based on this doc.

You can treat it as a minimal example of how to use the DevTools Protocol, no complex abstraction.

It's thread-safe, and context first.

For basic usage, check this file.

For more info, check the unit tests.

# Functions

MustConnectWS helper to make a websocket connection.
MustStartWithURL helper for ConnectURL.
New creates a cdp connection, all messages from Client.Event must be received or they will block the client.
StartWithURL helper to connect to the u with the default websocket lib.

# Variables

ErrCtxDestroyed type.
ErrCtxNotFound type.
ErrNodeNotFoundAtPos type.
ErrNotAttachedToActivePage type.
ErrObjNotFound type.
ErrSearchSessionNotFound type.
ErrSessionNotFound type.

# Structs

BadHandshakeError type.
Client is a devtools protocol connection instance.
Error of the Response.
Event from browser.
Request to send to browser.
Response from browser.
WebSocket client for chromium.

# Interfaces

Dialer interface for WebSocket connection.
WebSocketable enables you to choose the websocket lib you want to use.