Mobile JSON Wire Protocol
getPageIndex
Mobile JSON Wire Protocol command. More details can be found in the official protocol docs.
सावधानी
This protocol command is deprecated
In Appium 2.0, this method is marked as deprecated and currently has no available alternatives.
Usage
driver.getPageIndex()
Returns
- <string>
pageIndex
: undefined
getNetworkConnection
Mobile JSON Wire Protocol command. More details can be found in the official protocol docs.
Usage
driver.getNetworkConnection()
Returns
- <number>
connectionType
: see https://appium.github.io/appium.io/docs/en/writing-running-appium/other/network-connection/
setNetworkConnection
Mobile JSON Wire Protocol command. More details can be found in the official protocol docs.
Usage
driver.setNetworkConnection(type)
Parameters
Name | Type | Details |
---|---|---|
type | number | a bit mask that should be translated to an integer value when serialized |
touchPerform
Mobile JSON Wire Protocol command. More details can be found in the official protocol docs.
Usage
driver.touchPerform(actions)
Parameters
Name | Type | Details |
---|---|---|
actions | object[] | a list of objects, each of which represents an input source and its associated actions |