mocks

package
v3.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2018 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Page

type Page struct {
	TitleCall struct {
		ReturnTitle string
		Err         error
	}

	PopupTextCall struct {
		ReturnText string
		Err        error
	}

	URLCall struct {
		ReturnURL string
		Err       error
	}

	WindowCountCall struct {
		ReturnCount int
		Err         error
	}

	ReadAllLogsCall struct {
		LogType    string
		ReturnLogs []agouti.Log
		Err        error
	}
}

func (*Page) PopupText

func (p *Page) PopupText() (string, error)

func (*Page) ReadAllLogs

func (p *Page) ReadAllLogs(logType string) ([]agouti.Log, error)

func (*Page) String

func (*Page) String() string

func (*Page) Title

func (p *Page) Title() (string, error)

func (*Page) URL

func (p *Page) URL() (string, error)

func (*Page) WindowCount

func (p *Page) WindowCount() (int, error)

type Selection

type Selection struct {
	StringCall struct {
		ReturnString string
	}

	TextCall struct {
		ReturnText string
		Err        error
	}

	AttributeCall struct {
		Attribute   string
		ReturnValue string
		Err         error
	}

	CSSCall struct {
		Property    string
		ReturnValue string
		Err         error
	}

	SelectedCall struct {
		ReturnSelected bool
		Err            error
	}

	VisibleCall struct {
		ReturnVisible bool
		Err           error
	}

	EnabledCall struct {
		ReturnEnabled bool
		Err           error
	}

	ActiveCall struct {
		ReturnActive bool
		Err          error
	}

	CountCall struct {
		ReturnCount int
		Err         error
	}

	EqualsElementCall struct {
		Selection    interface{}
		ReturnEquals bool
		Err          error
	}
}

func (*Selection) Active

func (s *Selection) Active() (bool, error)

func (*Selection) Attribute

func (s *Selection) Attribute(attribute string) (string, error)

func (*Selection) CSS

func (s *Selection) CSS(property string) (string, error)

func (*Selection) Count

func (s *Selection) Count() (int, error)

func (*Selection) Enabled

func (s *Selection) Enabled() (bool, error)

func (*Selection) EqualsElement

func (s *Selection) EqualsElement(selection interface{}) (bool, error)

func (*Selection) Selected

func (s *Selection) Selected() (bool, error)

func (*Selection) String

func (s *Selection) String() string

func (*Selection) Text

func (s *Selection) Text() (string, error)

func (*Selection) Visible

func (s *Selection) Visible() (bool, error)

Jump to

Keyboard shortcuts

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