Appium is based on the WebDriver JSON Wire Protocol and therefore works extremely well also for mobile web testing. Being a subset of the Selenium, it also provides infrastructure, platform and language-agnostic interfaces that are compatible with all major web browsers – also on Android and iOS.
In this blog will walk through a basic example of how to use Appium/Selenium for mobile browser testing on real Android and iOS devices.

 

Setup

Installed Appium dependencies packages:

Copy to Clipboard

For ios devices you need to enable safari web inspector and remorte automation:

– Settings – Safari – Advanced – Enable “Web Inspector”
– Settings – Safari – Advanced – Enable “Remote Automation”

 

Appium Test Capabilities

Here is the example of desired capabilities on client-side execution:

Copy to Clipboard

 

Write and run your test

Copy to Clipboard