Mobile JSON Wire Protocol
getPageIndex
Mobile JSON Wire Protocol command. More details can be found in the official protocol docs.
thận trọng
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>
getNetworkConnection
Mobile JSON Wire Protocol command. More details can be found in the official protocol docs.
thận trọng
This protocol command is deprecated
For Appium Android automation, use driver.execute('mobile: getConnectivity', { ... }) instead
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.
thận trọng
This protocol command is deprecated
For Appium Android automation, use driver.execute('mobile: setConnectivity', { ... }) instead
Usage
driver.setNetworkConnection(type)