Couldnot switch between Native Applicaiton Vew and WebApplication
Two AppiumServers
a)
Appium Server1 : run on port 4300.
driver1 for WebApplication(eg: login to : www.yahoo.com) from chrome browser
b)
Appium Server2: run on port 4350
driver2 for Native App(eg: makemytrip native app)
WebApplication and NativeApp are launched in same android device.
I need to switch between NativeApp and WebApplication . getContext() is not working,
PLEASE HELP to find the way to switch between NativeApp and WebApplication through APPIUM Selenium Java.