web

package
v1.2.24 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2022 License: Apache-2.0 Imports: 11 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UserAcceptanceTestSuit

func UserAcceptanceTestSuit(t *testing.T, testers Testers, serverStarter ServerStarter, local bool, options ...string)

Types

type Page

type Page struct {
	*agouti.Page
	T      *testing.T
	Driver *agouti.WebDriver
	Quit   chan struct{}
}

func (*Page) Attr

func (page *Page) Attr(s *agouti.Selection, attr, res string)

func (*Page) Click

func (page *Page) Click(xpath string, intervals ...int)

func (*Page) ClickS

func (page *Page) ClickS(s *agouti.Selection, intervals ...int)

func (*Page) Contain

func (page *Page) Contain(s string)

func (*Page) Css

func (page *Page) Css(xpath, css, res string)

func (*Page) CssS

func (page *Page) CssS(s *agouti.Selection, css, res string)

func (*Page) Destroy

func (page *Page) Destroy()

func (*Page) Display

func (page *Page) Display(xpath string)

func (*Page) Fill

func (page *Page) Fill(xpath, content string)

func (*Page) MoveMouseBy

func (page *Page) MoveMouseBy(xOffset, yOffset int)

func (*Page) NavigateTo

func (page *Page) NavigateTo(path string)

func (*Page) NoContain

func (page *Page) NoContain(s string)

func (*Page) Nondisplay

func (page *Page) Nondisplay(xpath string)

func (*Page) Text

func (page *Page) Text(xpath, text string)

func (*Page) Value

func (page *Page) Value(xpath, value string)

func (*Page) Wait

func (page *Page) Wait(t int)

type ServerStarter

type ServerStarter func(quit chan struct{})

type Testers

type Testers func(t *testing.T, page *Page)

Jump to

Keyboard shortcuts

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