js

package
v0.0.0-...-203cdba Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2022 License: BSD-3-Clause Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Scripts

func Scripts(doc *nodes.Node, downloads map[string]string) (codes []string)

func SetFetcher

func SetFetcher(f opossum.Fetcher)

func Srcs

func Srcs(doc *nodes.Node) (srcs []string)

func Start

func Start(scripts ...string) (resHtm string, changed bool, err error)

Start with pre-defined scripts

func Stop

func Stop()

func TriggerClick

func TriggerClick(selector string) (newHTML string, ok bool, err error)

TriggerClick, and return the result html ...then HTML5 parse it, diff the node tree (probably faster and cleaner than anything else)

Types

This section is empty.

Jump to

Keyboard shortcuts

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