connect device
Logically connect to a mobile device and make that mobile device the target for the automation.
Name | Description | Type | Modifier |
---|---|---|---|
name | Logical name of the target mobile device. | String | None |
session id | Variable to hold the returned session ID of the connected mobile device. | String | None |
None
Connect to the mobile device with name ‘device test’ which is assigned by ‘assign device’ action.
url capabilities name
assign device # appium url # appium capability device test
 
name session id
connect device device test session test
 
session id
use device # session test
 
location
navigate https://google.com
 
window
check window exists [doc title=Google]
- name argument:
- The name is established in advance by the assign device action, which assigns a logical name to a mobile device.
- This action supports the <ignore> modifier. If the string
<ignore>
is present as the value of any of the arguments, or any argument contains an expression that evaluates to<ignore>
, the action is skipped during execution.