Robotic.mobi Image landing
Written by Osman Raif Güneş Updated over a week ago

Remote Inspector for Appium

Connect Appium Hub and start to inspect elements.

May 10, 2021

What is Appium?

Appium is an open-source tool for automating native, mobile web, and hybrid applications on iOS mobile, Android mobile, and Windows desktop platforms. Native apps are those written using the iOS, Android, or Windows SDKs. Mobile web apps are web apps accessed using a mobile browser (Appium supports Safari on iOS and Chrome or the built-in 'Browser' app on Android). Hybrid apps have a wrapper around a "webview" -- a native control that enables interaction with web content.


For more information: Appium Page

What is Appium Inspector?

The Inspector opens up with a New Session windows. This New Session window allows you to construct a set of Appium desired capabilities used to launch an Appium session. You can launch a session against the currently-running Appium CLI or Appium Server GUI server, or you can launch a session against a variety of other endpoints. Simply include the connection details for any server that you wish to connect to.


For more information: Appium Inspector

Connection to Robotic.mobi Appium Hub

First of all, you have to register on Robotic.mobi.


To register: Register Page

Part 1: Login to system and upload your application and click application settings. Find application id.

Upload application
Edit application
Find application id

Part 2: You have to get also session key. To obtain session key click the My Profile button. You will see the session key on the right side.

Profile
Session key part

Part:3 After these steps, you need to find udid of the remote device. To find it, click Manual Test tab in robotic.mobi main page. You will see the udids of all phones at the top of each phones.

Phone udids

Now, set the desiredCapabilities. Robotic.mobi inspector needs three requirement capabilities.

* udid: Phone udid. (detailed on Part 3)

* platformName: android or ios. Appium needs this capability.

* app_id: Application id. (detailed on Part 1)

* You have to also set Robotic.Mobi Token: Session key (detailed on Part 2)

Appium capabilities

Click Start Session. That is it!

Appium Inspector