Appium code snippets and API calls

This topic provides sample code snippets and API calls to use when preparing your Appium test for running in the SRF device lab.

Appium setup code snippets

The following code snippets show sample setups for Android native apps, Chrome, iOS native apps, and iOS Safari. The bolded lines are mandatory.

For a list of the common capabilities and their support in StormRunner Functional, see Supported Appium capabilities.

Back to top

Common Appium API calls

Use the following Appium API calls to manage your apps in the SRF mobile device lab.

Back to top