Documentation ¶
Index ¶
- type Page
- func (p *Page) Back() error
- func (p *Page) CancelPopup() error
- func (p *Page) ClearCookies() error
- func (p *Page) CloseWindow() error
- func (p *Page) ConfirmPopup() error
- func (p *Page) DeleteCookie(name string) error
- func (p *Page) Destroy() error
- func (p *Page) EnterPopupText(text string) error
- func (p *Page) Forward() error
- func (p *Page) Navigate(url string) error
- func (p *Page) NextWindow() error
- func (p *Page) Refresh() error
- func (p *Page) RunScript(body string, arguments map[string]interface{}, result interface{}) error
- func (p *Page) Screenshot(filename string) error
- func (p *Page) SetCookie(cookie agouti.Cookie) error
- func (p *Page) Size(width, height int) error
- func (p *Page) SwitchToParentFrame() error
- func (p *Page) SwitchToRootFrame() error
- func (p *Page) SwitchToWindow(name string) error
- type Selection
- func (s *Selection) Check() error
- func (s *Selection) Click() error
- func (s *Selection) DoubleClick() error
- func (s *Selection) Fill(text string) error
- func (s *Selection) Select(text string) error
- func (s *Selection) Submit() error
- func (s *Selection) SwitchToFrame() error
- func (s *Selection) Uncheck() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Page ¶
type Page struct { DestroyCall struct { Called bool Err error } URL string Err error } SetCookieCall struct { Cookie agouti.Cookie Err error } DeleteCookieCall struct { Name string Err error } ClearCookiesCall struct { Called bool Err error } SizeCall struct { Width int Height int Err error } ScreenshotCall struct { Filename string Err error } RunScriptCall struct { Body string Arguments map[string]interface{} Result interface{} Err error } EnterPopupTextCall struct { Text string Err error } ConfirmPopupCall struct { Called bool Err error } CancelPopupCall struct { Called bool Err error } ForwardCall struct { Called bool Err error } BackCall struct { Called bool Err error } RefreshCall struct { Called bool Err error } SwitchToParentFrameCall struct { Called bool Err error } SwitchToRootFrameCall struct { Called bool Err error } SwitchToWindowCall struct { Name string Err error } NextWindowCall struct { Called bool Err error } CloseWindowCall struct { Called bool Err error } }
func (*Page) CancelPopup ¶
func (*Page) ClearCookies ¶
func (*Page) CloseWindow ¶
func (*Page) ConfirmPopup ¶
func (*Page) DeleteCookie ¶
func (*Page) EnterPopupText ¶
func (*Page) NextWindow ¶
func (*Page) Screenshot ¶
func (*Page) SwitchToParentFrame ¶
func (*Page) SwitchToRootFrame ¶
func (*Page) SwitchToWindow ¶
type Selection ¶
type Selection struct { SwitchToFrameCall struct { Called bool Err error } ClickCall struct { Called bool Err error } DoubleClickCall struct { Called bool Err error } FillCall struct { Text string Err error } CheckCall struct { Called bool Err error } UncheckCall struct { Called bool Err error } SelectCall struct { Text string Err error } SubmitCall struct { Called bool Err error } }
func (*Selection) DoubleClick ¶
func (*Selection) SwitchToFrame ¶
Click to show internal directories.
Click to hide internal directories.