use
Sets=driver.getcontextHandle();
//give set of all views in your device.
foreach(String handle:s)
{
syso(handles)//Output->Native App
and WebView name (if present)
}
driver.context(“WebView Name”)// it will switch from Native to hybrid…
then automate it using
chrome://inspect/device#
in chrome browser