Documentation ¶
Index ¶
- type ActionData
- type ActiveElementData
- type AndroidKeycodePayload
- type AppiumLog
- type AppiumLogger
- type AppiumServerCapabilities
- type AppiumTomlConfig
- type AppiumTomlNode
- type AppiumTomlRelay
- type AppiumTomlServer
- type AppiumTypeText
- type ByUDID
- type ConfigJsonData
- type ConnectedDevice
- type CustomLogger
- type Device
- type DeviceAction
- type DeviceActionParameters
- type DevicePointerAction
- type DevicePointerActions
- type IOSModelData
- type ProviderDB
- type ProviderData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionData ¶ added in v0.9.0
type ActiveElementData ¶ added in v0.9.0
type ActiveElementData struct { Value struct { Element string `json:"ELEMENT"` } `json:"value"` }
type AndroidKeycodePayload ¶ added in v0.9.0
type AndroidKeycodePayload struct {
Keycode int `json:"keycode"`
}
type AppiumLogger ¶ added in v0.9.0
type AppiumServerCapabilities ¶ added in v0.9.0
type AppiumServerCapabilities struct { UDID string `json:"appium:udid"` WdaMjpegPort string `json:"appium:mjpegServerPort,omitempty"` ClearSystemFiles string `json:"appium:clearSystemFiles,omitempty"` WdaURL string `json:"appium:webDriverAgentUrl,omitempty"` PreventWdaAttachments string `json:"appium:preventWDAAttachments,omitempty"` SimpleIsVisibleCheck string `json:"appium:simpleIsVisibleCheck,omitempty"` WdaLocalPort string `json:"appium:wdaLocalPort,omitempty"` PlatformVersion string `json:"appium:platformVersion,omitempty"` AutomationName string `json:"appium:automationName"` PlatformName string `json:"platformName"` DeviceName string `json:"appium:deviceName"` WdaLaunchTimeout string `json:"appium:wdaLaunchTimeout,omitempty"` WdaConnectionTimeout string `json:"appium:wdaConnectionTimeout,omitempty"` }
type AppiumTomlConfig ¶ added in v0.9.0
type AppiumTomlConfig struct { Server AppiumTomlServer `toml:"server"` Node AppiumTomlNode `toml:"node"` Relay AppiumTomlRelay `toml:"relay"` }
type AppiumTomlNode ¶ added in v0.9.0
type AppiumTomlNode struct {
DetectDrivers bool `toml:"detect-drivers"`
}
type AppiumTomlRelay ¶ added in v0.9.0
type AppiumTomlServer ¶ added in v0.9.0
type AppiumTomlServer struct {
Port int `toml:"port"`
}
type AppiumTypeText ¶ added in v0.9.0
type AppiumTypeText struct {
Text string `json:"text"`
}
type ConfigJsonData ¶
type ConfigJsonData struct {
EnvConfig ProviderDB `json:"env-config" bson:"env-config"`
}
type ConnectedDevice ¶ added in v0.9.0
type CustomLogger ¶ added in v0.9.0
type Device ¶
type Device struct { Connected bool `json:"connected" bson:"connected"` UDID string `json:"udid" bson:"udid"` OS string `json:"os" bson:"os"` Name string `json:"name" bson:"name"` OSVersion string `json:"os_version" bson:"os_version"` Model string `json:"model" bson:"model"` Host string `json:"host" bson:"host"` Provider string `json:"provider" bson:"provider"` ScreenWidth string `json:"screen_width" bson:"screen_width"` ScreenHeight string `json:"screen_height" bson:"screen_height"` HardwareModel string `json:"hardware_model,omitempty" bson:"hardware_model,omitempty"` InstalledApps []string `json:"installed_apps" bson:"-"` IOSProductType string `json:"ios_product_type,omitempty" bson:"ios_product_type,omitempty"` LastUpdatedTimestamp int64 `json:"last_updated_timestamp" bson:"last_updated_timestamp"` ProviderState string `json:"provider_state" bson:"provider_state"` WdaReadyChan chan bool `json:"-" bson:"-"` Context context.Context `json:"-" bson:"-"` CtxCancel context.CancelFunc `json:"-" bson:"-"` GoIOSDeviceEntry ios.DeviceEntry `json:"-" bson:"-"` IsResetting bool `json:"is_resetting" bson:"is_resetting"` Logger CustomLogger `json:"-" bson:"-"` InstallableApps []string `json:"installable_apps" bson:"-"` AppiumSessionID string `json:"appiumSessionID" bson:"-"` WDASessionID string `json:"wdaSessionID" bson:"-"` AppiumPort string `json:"appium_port" bson:"-"` StreamPort string `json:"stream_port" bson:"-"` WDAStreamPort string `json:"wda_stream_port" bson:"-"` WDAPort string `json:"wda_port" bson:"-"` AppiumLogger AppiumLogger `json"-" bson:"-"` }
type DeviceAction ¶ added in v0.9.0
type DeviceActionParameters ¶ added in v0.9.0
type DeviceActionParameters struct {
PointerType string `json:"pointerType"`
}
type DevicePointerAction ¶ added in v0.9.0
type DevicePointerAction struct { Type string `json:"type"` ID string `json:"id"` Parameters DeviceActionParameters `json:"parameters"` Actions []DeviceAction `json:"actions"` }
type DevicePointerActions ¶ added in v0.9.0
type DevicePointerActions struct {
Actions []DevicePointerAction `json:"actions"`
}
type IOSModelData ¶ added in v0.9.0
type ProviderDB ¶ added in v0.9.0
type ProviderDB struct { OS string `json:"os" bson:"os"` Nickname string `json:"nickname" bson:"nickname"` HostAddress string `json:"host_address" bson:"host_address"` Port int `json:"port" bson:"port"` UseSeleniumGrid bool `json:"use_selenium_grid" bson:"use_selenium_grid"` SeleniumGrid string `json:"selenium_grid" bson:"selenium_grid"` ProvideAndroid bool `json:"provide_android" bson:"provide_android"` ProvideIOS bool `json:"provide_ios" bson:"provide_ios"` WdaBundleID string `json:"wda_bundle_id" bson:"wda_bundle_id"` SupervisionPassword string `json:"supervision_password" bson:"supervision_password"` WdaRepoPath string `json:"wda_repo_path" bson:"wda_repo_path"` ProviderFolder string `json:"-" bson:"-"` LastUpdatedTimestamp int64 `json:"last_updated" bson:"last_updated"` ProvidedDevices int `json:"provided_devices_count" bson:"provided_devices_count"` WebDriverBinary string `json:"-" bson:"-"` SeleniumJarFile string `json:"-" bson:"-"` UseGadsIosStream bool `json:"use_gads_ios_stream" bson:"use_gads_ios_stream"` }
type ProviderData ¶ added in v0.9.0
type ProviderData struct { ProviderData ProviderDB `json:"provider"` DeviceData []*Device `json:"device_data"` }
Click to show internal directories.
Click to hide internal directories.