Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Browser ¶
type Browser struct {
// contains filtered or unexported fields
}
func NewBrowser ¶
Starts a headless Chromium instance and binds to it.
func NewRemoteBrowser ¶
Binds to an existing Chromium instance.
func (*Browser) NewBrowserConn ¶
Creates a connection to the browser, which accepts browser related commands.
type CommandJson ¶
type Conn ¶
type Conn struct {
// contains filtered or unexported fields
}
func (*Conn) AddEventSink ¶
Don't call this. Use functions from protocol package.
func (*Conn) RemoveEventSink ¶
Don't call this. Use functions from protocol package.
func (*Conn) SendCommand ¶
type EventSink ¶
func FuncToEventSink ¶
type MessageJson ¶
type MessageJson struct { Id int `json:"id"` Error ErrorJson `json:"error"` Result json.RawMessage `json:"result"` Method string `json:"method"` Params json.RawMessage `json:"params"` }
Click to show internal directories.
Click to hide internal directories.