Documentation ¶
Index ¶
- Variables
- type Control
- func (c *Control) Back() error
- func (c *Control) ClearInput() error
- func (c *Control) ClickInput() error
- func (c *Control) ClickSearch() error
- func (c *Control) Gender(phone string) (string, error)
- func (c *Control) Input(keyword string) error
- func (c *Control) Reset() error
- func (c *Control) Serial() string
- type Position
- type Xml
Constants ¶
This section is empty.
Variables ¶
View Source
var Controls = map[string]*Control{}
多个手机控制
Functions ¶
This section is empty.
Types ¶
type Control ¶
type Control struct { // 等待搜索结果时间 WaitResultDuration time.Duration // 等待搜索按钮弹出 WaitSearchButtonDuration time.Duration *adb.Device // 输入框坐标 InputPosition *Position // 清除输入框坐标 ClearInputPosition *Position // 搜索按钮坐标 SearchButtonPosition *Position // contains filtered or unexported fields }
手机控制结构体
Click to show internal directories.
Click to hide internal directories.