Unable to switch from native to webview

I am testing Hybrid iOS app on real device, i’m getting both NATIVE_APP and WEBVIEW but when i try to switch to webview using driver.context method it is throwing Exception “io.appium.java_client.NoSuchContextException: An unknown server-side error occurred while processing the command. Original error: operation timed out”


  • appium version: 1.10.1
  • Node JS version: v11.8.0
  • Mobile platform: iPAD iOS 12.1
  • Appium CLI or Appium.app|exe: Appium CLI

Appium log: