The working of Appium is explained below :* Appium server developed using Node.js implements selenium WebDriver.
* The connection request is sent by WebDriver script to Appium server via JSON Wire protocol.
* Automation session and desired capabilities are set
* In case of Android, the request is sent to UIAutomator, UIAutomator communicates with bootstrap.jar running on an Android mobile device or emulator to perform operations.
* Whereas for iOS, UIAutomation receives requests. UIAutomation communicates with bootstrap.js running on iOS mobile devices or emulators to perform operations.
* After execution of the request sent, the message is sent back to the Appium server. The results of execution are captured by server logs.
Working of Appium :