Facing issue with switching between native and web view in my hybrid app automation. Could you help here?

Facing issue with switching between native and web view in my hybrid app automation. The error is due to casting RemoteWebDriver to AppiumDriver in ContextSwitch.java Could you help here?

Hi Ana Sousa,

Please allow me to share that remotewebdriver casting to appium driver is not supported hence the error you’re getting with context switching. However, this can be done with appium driver as you have already tested.