How to change context in Appium?
//Getting all the context.
Set pContext = driver.getContextHandles();
//Setting it to array to change it.
driver.context(pContext.toArray()[1]);
//Changing it to Native App Context.
driver.context("NATIVE_APP");