agouti: github.com/sclevine/agouti/internal/target Index | Files

package target

import "github.com/sclevine/agouti/internal/target"

Index

Package Files

selector.go selectors.go

type Selector Uses

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

func (Selector) API Uses

func (s Selector) API() api.Selector

func (Selector) String Uses

func (s Selector) String() string

type Selectors Uses

type Selectors []Selector

func (Selectors) Append Uses

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

func (Selectors) At Uses

func (s Selectors) At(index int) Selectors

func (Selectors) Single Uses

func (s Selectors) Single() Selectors

func (Selectors) String Uses

func (s Selectors) String() string

type Type Uses

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"
)

Package target imports 3 packages (graph) and is imported by 7 packages. Updated 2016-07-31. Refresh now. Tools for package owners.