disconnect device
Logically disconnect the target device.
Name | Description | Type | Modifier |
---|---|---|---|
session id | Session ID of the currently-connected device. | String | None |
None
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] session id disconnect device # session test

- The primary value of this action lies in allowing your test to terminate the connection with the current device.
- This action supports the <ignore> modifier. If the string
<ignore>
is present as the value of the argument, or the argument contains an expression that evaluates to<ignore>
, the action is skipped during execution.