target

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: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Selector

type Selector struct {
	Type    Type
	Value   string
	Index   int
	Indexed bool
	Single  bool
}

func (Selector) API

func (s Selector) API() api.Selector

func (Selector) String

func (s Selector) String() string

type Selectors

type Selectors []Selector

func (Selectors) Append

func (s Selectors) Append(selectorType Type, value string) Selectors

func (Selectors) At

func (s Selectors) At(index int) Selectors

func (Selectors) Single

func (s Selectors) Single() Selectors

func (Selectors) String

func (s Selectors) String() string

type Type

type Type string
const (
	CSS        Type = "CSS: %s"
	XPath      Type = "XPath: %s"
	Link       Type = `Link: "%s"`
	Label      Type = `Label: "%s"`
	Button     Type = `Button: "%s"`
	Name       Type = `Name: "%s"`
	A11yID     Type = "Accessibility ID: %s"
	AndroidAut Type = "Android UIAut.: %s"
	IOSAut     Type = "iOS UIAut.: %s"
	Class      Type = "Class: %s"
	ID         Type = "ID: %s"
)

Jump to

Keyboard shortcuts

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