browser

package
v0.0.0-...-29e7bc9 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2023 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package browser contains a RootModule wrapper that wraps around the experimental browser RootModule.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RootModule

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

RootModule is a wrapper around the experimental browser RootModule. It will prevent browser test runs unless K6_BROWSER_ENABLED env var is set.

func New

func New() *RootModule

New creates an experimental browser RootModule and wraps it around this internal RootModule.

func (*RootModule) NewModuleInstance

func (r *RootModule) NewModuleInstance(vu modules.VU) modules.Instance

NewModuleInstance will check to see if K6_BROWSER_ENABLED is set before allowing test runs to continue.

Jump to

Keyboard shortcuts

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