Automating hybrid apps
A hybrid app is a combination of native and web apps. Similar to native apps, you can get hybrid apps through an application store. Nowadays, hybrid apps are very popular because they provide a cross-platform solution and display the content that they get from the Web rather than the contents installed on the device only.
Android hybrid apps
Here, we will take an example of the Hybridtestapp; you can get it from https://github.com/manojhans/Appium/blob/master/Application/Android/Hybrid/Hybridtestapp.zip?raw=true.
If you are working with an Android version higher than 4.4, then you have to use Selendroid (in that case, you have to set the capability as
(MobileCapabilityType.AUTOMATION_NAME,"Selendroid")); otherwise, Appium has ...