browsertest

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package browsertest provides test helpers for browser support.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Recorder

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

Recorder is a [Launcher] that records the URLs it is asked to open into a file.

func NewRecorder

func NewRecorder(path string) *Recorder

NewRecorder builds a Recorder that records URLs to the specified path.

func (*Recorder) OpenURL

func (r *Recorder) OpenURL(url string) error

OpenURL records the URL to the file.

Jump to

Keyboard shortcuts

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