util

package
v2.2.3 Latest Latest
Warning

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

Go to latest
Published: May 7, 2021 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBrowser

func NewBrowser(headless bool, userDataDir, bin, cacheDir string) (*rod.Browser, error)

NewBrowser initiates the automated browser to use.

func NewPage added in v2.2.0

func NewPage(browser *rod.Browser, link string, block []proto.NetworkResourceType) (*rod.Page, error)

NewPage loads the given link in a new browser tab.

Types

This section is empty.

Jump to

Keyboard shortcuts

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