मोबाइल JSON वायर प्रोटोकॉल
getPageIndex
Mobile JSON Wire Protocol command. More details can be found in the official protocol docs.
सावधानी
यह प्रोटोकॉल कमांड अप्रचलित है
Appium 2.0 में, इस विधि को अप्रचलित के रूप में चिह्नित किया गया है और वर्तमान में कोई उपलब्ध विकल्प नहीं हैं।
Usage
driver.getPageIndex()
Returns
- <string>
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 | एक बिट मास्क जिसे सीरियलाइज़ करते समय पूर्णांक मान में परिवर्तित किया जाना चाहिए |
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[] | वस्तुओं की एक सूची, जिनमें से प्रत्येक एक इनपुट स्रोत और उसके संबंधित क्रियाओं का प्रतिनिधित्व करता है |
multiTouchPerform
Mobile JSON Wire Protocol command. More details can be found in the official protocol docs.
Usage
driver.multiTouchPerform(actions, elementId)
Parameters
Name | Type | Details |
---|---|---|
actions | object[] | वस्तुओं की एक सूची, जिनमें से प्रत्येक एक इनपुट स्रोत और उसके संबंधित क्रियाओं का प्रतिनिधित्व करता है |
elementId optional | object[] | Find Element(s) के पिछले कॉल में वापस किए गए एक तत्व की आईडी |
receiveAsyncResponse
Mobile JSON Wire Protocol command. More details can be found in the official protocol docs.
Usage
driver.receiveAsyncResponse(status, value)
Parameters
Name | Type | Details |
---|---|---|
status | string | प्रतिक्रिया की अपेक्षित स्थिति |
value | string | प्रतिक्रिया का अपेक्षित मूल्य |