chrome

package
v0.1.19 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

package chrome allows controlling of a Chrome browser instance via chromedp, e.g. for testing, scraping or a browser-based UI.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChromeProxy

type ChromeProxy struct {
	// contains filtered or unexported fields
}

func Start

func Start(ctx *b.Context, url string) *ChromeProxy

func (*ChromeProxy) ClickById

func (cp *ChromeProxy) ClickById(id string)

func (*ChromeProxy) Stop

func (cp *ChromeProxy) Stop()

func (*ChromeProxy) TextById

func (cp *ChromeProxy) TextById(id string) string

Jump to

Keyboard shortcuts

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