agouti: github.com/sclevine/agouti/appium Index | Files

package appium

import "github.com/sclevine/agouti/appium"

Index

Package Files

device.go options.go selection.go touchaction.go webdriver.go

type Device Uses

type Device struct {
    *agouti.Page
    // contains filtered or unexported fields
}

func (*Device) CloseApp Uses

func (d *Device) CloseApp() error

func (*Device) InstallApp Uses

func (d *Device) InstallApp(appPath string) error

func (*Device) LaunchApp Uses

func (d *Device) LaunchApp() error

func (*Device) ReplaceElementValue Uses

func (d *Device) ReplaceElementValue(element *agouti.Selection, newValue string) error

func (*Device) Reset Uses

func (d *Device) Reset() error

func (*Device) Swipe Uses

func (d *Device) Swipe(start_x, start_y, end_x, end_y, duration int) error

func (*Device) TouchAction Uses

func (d *Device) TouchAction() *TouchAction

type Option Uses

type Option func(*config)

func AgoutiOptions Uses

func AgoutiOptions(options ...agouti.Option) Option

func Desired Uses

func Desired(capabilities agouti.Capabilities) Option

type TouchAction Uses

type TouchAction struct {
    // contains filtered or unexported fields
}

func NewTouchAction Uses

func NewTouchAction(session mobileSession) *TouchAction

func (*TouchAction) LongPressElement Uses

func (t *TouchAction) LongPressElement(selection *agouti.Selection, duration int) *TouchAction

func (*TouchAction) LongPressPosition Uses

func (t *TouchAction) LongPressPosition(x, y, duration int) *TouchAction

func (*TouchAction) MoveToElement Uses

func (t *TouchAction) MoveToElement(selection *agouti.Selection) *TouchAction

func (*TouchAction) MoveToPosition Uses

func (t *TouchAction) MoveToPosition(x, y int) *TouchAction

func (*TouchAction) Perform Uses

func (t *TouchAction) Perform() error

func (*TouchAction) PressElement Uses

func (t *TouchAction) PressElement(selection *agouti.Selection) *TouchAction

func (*TouchAction) PressPosition Uses

func (t *TouchAction) PressPosition(x, y int) *TouchAction

func (*TouchAction) Release Uses

func (t *TouchAction) Release() *TouchAction

func (*TouchAction) String Uses

func (ma *TouchAction) String() string

func (*TouchAction) TapElement Uses

func (t *TouchAction) TapElement(selection *agouti.Selection, count int) *TouchAction

func (*TouchAction) TapPosition Uses

func (t *TouchAction) TapPosition(x, y, count int) *TouchAction

func (*TouchAction) Wait Uses

func (t *TouchAction) Wait(ms int) *TouchAction

type WebDriver Uses

type WebDriver struct {
    // contains filtered or unexported fields
}

func New Uses

func New(options ...Option) *WebDriver

func (*WebDriver) NewDevice Uses

func (w *WebDriver) NewDevice(options ...Option) (*Device, error)

func (*WebDriver) Start Uses

func (w *WebDriver) Start() error

func (*WebDriver) Stop Uses

func (w *WebDriver) Stop() error

Package appium imports 7 packages (graph). Updated 2016-07-22. Refresh now. Tools for package owners.