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.
Click to show internal directories.
Click to hide internal directories.