target

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2015 License: MIT, 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"`
)

Jump to

Keyboard shortcuts

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