browsertest

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitBrowser

func InitBrowser(t testing.TB, handler http.Handler) *browser.Browser

InitBrowser creates a browser with a V8 engine and a default set of options.

This browser will be configured to log to the t instance. As a consequence, uncaught JavaScript errors will result in a test error.

func InitWindow

func InitWindow(t testing.TB) htmltest.WindowHelper

InitBrowser creates a browser and an empty window with a V8 engine and a default set of options.

See also: InitBrowser

Types

This section is empty.

Jump to

Keyboard shortcuts

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