Skip to content

Appium

We also provide appium web server implementation for your tests.

All what you need is access to our API and a few additional settings in your tests.

Common settings#

APPIUM_PORT = 80

APPIUM_HOST = 'http://emcee.cloud/api/v1/wd/hub'

Authorization#

As far as we use cookie with API token for authorization, you need to put this cookie in every request from your Appium client.

Here is an example of how this can be done with appium-python-client:

Just customise default AppiumConnection as shown below:

class CustomAppiumConnection(AppiumConnection):
    @classmethod
    def get_remote_connection_headers(cls, parsed_url: 'ParseResult', keep_alive: bool = True) -> Dict[str, Any]:
        headers = {'cookie': 'emcee_token={YOUR_EMCEE_API_TOKEN}}
        headers.update(super().get_remote_connection_headers(parsed_url, keep_alive))
        return headers

Android#

We currently support Android API 24 (7.0) and 31 (12.0). If you need other versions please contact us.

Capabilities:

{
  "appium:app": "{URL_TO_YOUR_APP_BINARY}",
  "browserName": "android",
  "browserVersion": "12.0"
}

iOS#

We currently support iOS 16.2 and iPhone 14. If you need other versions or devices please contact us.

Capabilities:

{
  "appium:app": "{URL_TO_YOUR_APP_BINARY}",
  "browserName": "iPhone 14",
  "browserVersion": "16.2"
}