முக்கிய உள்ளடக்கத்திற்குச் செல்லவும்

மொபைல் 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