Appium
getContext
Appium command. More details can be found in the official protocol docs.
Usage
driver.getContext()
Returns
- <Context>
context
: a string representing the current context or null representing 'no context'
switchContext
Appium command. More details can be found in the official protocol docs.
Usage
driver.switchContext(name)
Parameters
Name | Type | Details |
---|---|---|
name | string | a string representing an available context |
getContexts
Appium command. More details can be found in the official protocol docs.
Usage
driver.getContexts()