I'm automating 2 hybrid apps, using the same driver. I have set apps in appium session capabilities settings like this:
'appium:app': app1path,
'appium:otherApp': [app2path]
Now I need to do switchContexts()
to get webview ob app2. But it only shows context of app1 when I call getContexts()
. Any help is appreciated.