Versions in this module Expand all Collapse all v0 v0.1.1 Nov 15, 2026 v0.1.0 Nov 15, 2026 Changes in this version + var AppOrder = []string + var Scenarios = []Scenario + func Register(list ...Scenario) + func Run(ctx context.Context, o Options) int + type Driver interface + Back func(ctx context.Context) error + Click func(ctx context.Context, selector string) error + Close func() + Eval func(ctx context.Context, expr string) (string, error) + Forward func(ctx context.Context) error + Goto func(ctx context.Context, url string) error + Logs func() []string + PressEnter func(ctx context.Context) error + Type func(ctx context.Context, text string) error + type Env struct + App string + Base string + Page *Page + func (e *Env) API(path string) string + func (e *Env) Assert(cond bool, message string) + func (e *Env) Equal(actual, expected any, message string) + func (e *Env) Get(url string) string + func (e *Env) Open() + func (e *Env) Reset() + func (e *Env) Stats() Stats + func (e *Env) Until(message string, f func() bool) + func (e *Env) UntilFor(message string, timeout time.Duration, f func() bool) + type Options struct + Apps string + Browsers []string + ChromePath string + Env func(string) string + Err io.Writer + Headed bool + Logs bool + MD string + Out io.Writer + Port int + Root string + Scenario string + ScenarioTimeout time.Duration + Strict bool + type Outcome struct + App string + Browser string + Results []Result + Version string + type Page struct + func (p *Page) Back() + func (p *Page) Click(sel string) + func (p *Page) Count(sel string) int + func (p *Page) Eval(expr string, out any) + func (p *Page) Fill(sel, value string) + func (p *Page) Focus(sel string) + func (p *Page) Forward() + func (p *Page) Goto(url string) + func (p *Page) InputValue(sel string) string + func (p *Page) OnDialog(f func(message string) bool) + func (p *Page) PressEnter(sel string) + func (p *Page) PressSequentially(sel, text string, delay time.Duration) + func (p *Page) Sleep(d time.Duration) + func (p *Page) TextContent(sel string) string + func (p *Page) Texts(sel string) []string + func (p *Page) URL() string + func (p *Page) WaitFunction(expr string) + func (p *Page) WaitSelector(sel string) + func (p *Page) WaitURL(re *regexp.Regexp, timeout time.Duration) + type Result struct + Console []string + Duration time.Duration + Error string + Pass bool + Scenario string + SkipReason string + Skipped bool + type Scenario struct + Name string + Run func(e *Env) + Skip map[string]string + type Stats struct + SSEConnections int + SSEOpen int + Search int + Signups int + WSConnections int + WSMessages int + WSOpen int