testbrowser

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2024 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package testbrowser provides browsers for e2e tests

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pool

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

Pool of browsers

func NewPool

func NewPool(secret []byte) (*Pool, func(), error)

func (*Pool) New added in v0.3.0

func (p *Pool) New(t *testing.T, user context.Context, fn func(playwright.Page))

New requests a page from the browser pool.

Jump to

Keyboard shortcuts

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