Documentation ¶
Index ¶
- type Action
- type ActionOptions
- type Session
- func (s *Session) CloseApp() error
- func (s *Session) GetAppStrings(language string) ([]string, error)
- func (s *Session) GetCurrentActivity() (string, error)
- func (s *Session) GetSettings() (map[string]interface{}, error)
- func (s *Session) InstallApp(appPath string) error
- func (s *Session) IsAppInstalled(bundleId string) (bool, error)
- func (s *Session) LaunchApp() error
- func (s *Session) Lock() error
- func (s *Session) OpenNotifications() error
- func (s *Session) PerformTouch(actions []Action) error
- func (s *Session) RemoveApp(appId string) error
- func (s *Session) ReplaceValue(elementID, newValue string) error
- func (s *Session) Reset() error
- func (s *Session) Shake() error
- func (s *Session) ToggleLocationServices() error
- func (s *Session) UpdateSettings(settings map[string]interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action struct { Action string `json:"action"` Options ActionOptions `json:"options,omitempty"` }
type ActionOptions ¶
type ActionOptions struct { // TODO: check which means what, what are the differences between ms and duration ? Duration int `json:"duration,omitempty"` // which units ?? Millisecond int `json:"ms,omitempty"` // duplicates with Duration ?? X int `json:"x,omitempty"` Y int `json:"y,omitempty"` Element string `json:"element,omitempty"` // element ID Count int `json:"count,omitempty"` // meaning ?? }
type Session ¶
func (*Session) GetCurrentActivity ¶
func (*Session) GetSettings ¶
func (*Session) InstallApp ¶
func (*Session) OpenNotifications ¶
func (*Session) PerformTouch ¶
func (*Session) ReplaceValue ¶
func (*Session) ToggleLocationServices ¶
func (*Session) UpdateSettings ¶
Click to show internal directories.
Click to hide internal directories.