मुख्य सामग्री पर जाएं

मोबाइल 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

setNetworkConnection

Mobile JSON Wire Protocol command. More details can be found in the official protocol docs.

Usage
driver.setNetworkConnection(type)
Parameters
NameTypeDetails
typenumberएक बिट मास्क जिसे सीरियलाइज़ करते समय पूर्णांक मान में परिवर्तित किया जाना चाहिए

touchPerform

Mobile JSON Wire Protocol command. More details can be found in the official protocol docs.

Usage
driver.touchPerform(actions)
Parameters
NameTypeDetails
actionsobject[]वस्तुओं की एक सूची, जिनमें से प्रत्येक एक इनपुट स्रोत और उसके संबंधित क्रियाओं का प्रतिनिधित्व करता है

multiTouchPerform

Mobile JSON Wire Protocol command. More details can be found in the official protocol docs.

Usage
driver.multiTouchPerform(actions, elementId)
Parameters
NameTypeDetails
actionsobject[]वस्तुओं की एक सूची, जिनमें से प्रत्येक एक इनपुट स्रोत और उसके संबंधित क्रियाओं का प्रतिनिधित्व करता है
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
NameTypeDetails
statusstringप्रतिक्रिया की अपेक्षित स्थिति
valuestringप्रतिक्रिया का अपेक्षित मूल्य

Welcome! How can I help?

WebdriverIO AI Copilot