Skip to content Skip to sidebar Skip to footer

Appium Throws "chrome Not Reachable" Sporadically When Switch A Context

I'm using appium 1.4.16 and smartphone with Android 6. Running this code: public boolean fluentWaitChangeContext(String context, int timeout) { Wait wait = new Flue

Solution 1:

I could get a fix by monitoring chromedriver all the time during test execution, chromedriver becomes unresponsive while switching back to webview from natiove_app. I developed a small piece of code available at https://github.com/mi2pankaj/chromeDriverHandler, it has solved my all problems, just add this jar chromedriverHandler.jar to your project and use ChromedriverHandler.chromeDriverHandlerThread().start(); in your @beforeclass / @beforetest and ChromedriverHandler.chromeDriverHandlerThread().stop(); in your @afterclass / @aftertest.


Post a Comment for "Appium Throws "chrome Not Reachable" Sporadically When Switch A Context"