browser

package
v1.3.21 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Browser

type Browser struct {
	BaseURL string
	Client  *api_client.QuollixClient
	Browser *browsertest.Browser
	Page    *browsertest.Page

	InstalledApps *InstalledAppsPageHelpers
}

func NewBrowser

func NewBrowser(baseURL string, headful bool) (*Browser, error)

func (*Browser) ClearSession

func (b *Browser) ClearSession() error

func (*Browser) Close

func (b *Browser) Close() error

func (*Browser) OpenInstalledAppsPage

func (b *Browser) OpenInstalledAppsPage() (*InstalledAppsPageHelpers, error)

func (*Browser) SyncedLoginWithBrowser

func (b *Browser) SyncedLoginWithBrowser(username, password string) error

func (*Browser) SyncedLoginWithClient

func (b *Browser) SyncedLoginWithClient(username, password string) error

func (*Browser) UseAuthCookie

func (b *Browser) UseAuthCookie(cookie *http.Cookie) error

func (*Browser) Visit

func (b *Browser) Visit(path string) error

type InstalledAppsPageHelpers

type InstalledAppsPageHelpers struct {
	Page *browsertest.Page
}

func (*InstalledAppsPageHelpers) ClickOpenButton

func (p *InstalledAppsPageHelpers) ClickOpenButton(appName string) error

func (*InstalledAppsPageHelpers) FindRowByAppName

func (p *InstalledAppsPageHelpers) FindRowByAppName(appName string) (*browsertest.Element, error)

func (*InstalledAppsPageHelpers) OpenAppInNewTab

func (p *InstalledAppsPageHelpers) OpenAppInNewTab(appName string) (*browsertest.Page, error)

Jump to

Keyboard shortcuts

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