webdriver

package
v0.0.0-...-deadb92 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2023 License: Unlicense Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Checker

func Checker(driver *Driver) health.CheckerOption

Types

type Driver

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

func New

func New(options Options) (*Driver, error)

func (*Driver) Ping

func (driver *Driver) Ping(context.Context) error

func (*Driver) Render

func (driver *Driver) Render(input string, options map[string]any) (string, error)

func (*Driver) Start

func (driver *Driver) Start() error

func (*Driver) Stop

func (driver *Driver) Stop() error

type Options

type Options struct {
	Log      *slog.Logger
	Headless bool
}

Jump to

Keyboard shortcuts

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