Appium Hub to Find Locators

When developing your Appium tests, you may want to connect to a device to check the page source and create your element locators.

You can easily create and connect to an Appium Hub session to inspect your app’s screens.

Follow the following steps:

1. Start the Appium app

2. Go to Appium -> New Session Window

3. Go to Custom Server Tab

4. Enter the values for:

  • Remote Host - this will be the RobusTest Hub URL
  • Remote Port - this will be the port for the RobusTest Hub URL
  • Remote Path - this will “/wd/hub” which is the default value

5. Set the following desired capabilities:

  • platformName - this will be either Android or iOS
  • accessKey - this is your RobusTest Access Key
  • projectID - this is your RobusTest Project identifier
  • app - this is the build URL generated by RobusTest. Remember to provide the “accessKey” parameter at the end of the URL to authenticate the requestgene
  • deviceID - this is the unique identifier generated by RobusTest for the device

6. Click on Start Session