Documentation ¶
Index ¶
- func UserAcceptanceTestSuit(t *testing.T, testers Testers, serverStarter ServerStarter, local bool, ...)
- type Page
- func (page *Page) Attr(s *agouti.Selection, attr, res string)
- func (page *Page) Click(xpath string, intervals ...int)
- func (page *Page) ClickS(s *agouti.Selection, intervals ...int)
- func (page *Page) Contain(s string)
- func (page *Page) Css(xpath, css, res string)
- func (page *Page) CssS(s *agouti.Selection, css, res string)
- func (page *Page) Destroy()
- func (page *Page) Display(xpath string)
- func (page *Page) Fill(xpath, content string)
- func (page *Page) MoveMouseBy(xOffset, yOffset int)
- func (page *Page) NavigateTo(path string)
- func (page *Page) NoContain(s string)
- func (page *Page) Nondisplay(xpath string)
- func (page *Page) Text(xpath, text string)
- func (page *Page) Value(xpath, value string)
- func (page *Page) Wait(t int)
- type ServerStarter
- type Testers
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)
UserAcceptanceTestSuit make sure the chromedriver version Is corresponding to the chrome version. Using the following link to get the latest version of Chrome and ChromeDriver. https://googlechromelabs.github.io/chrome-for-testing/
Types ¶
type ServerStarter ¶
type ServerStarter func(quit chan struct{})
Click to show internal directories.
Click to hide internal directories.