Please help. Appium (v1.4.16.1), Switch to WebView fails when i try a second time. Is there something i should be considering?
Please refer the below use case using Appium on Android-
- Launch Android Device > Perform some actions
- Switch context = WebView_1 > Perform some actions
- Switch context = Native_App
- Switch context = WebView_1 > Perform some actions
in Step#2 and Step#4, it is the same WebView_1 but the content is different. Say: step#2 opened html-1 and step#4 opened html-2.
Problem: i am unable to switch context to WebView the second time in Step#4.
… below are some logs of the error
info: [debug] Available contexts: NATIVE_APP,WEBVIEW_1
info: [debug] Connecting to chrome-backed webview
info: [debug] Responding to client with error: {“status”:13,“value”:{“message”:“An unknown server-side error occurred while processing the command. (Original error: We already have a chromedriver instance running)”,“origValue”:“We already have a chromedriver instance running”},“sessionId”:“38904ff5-928a-4dc0-ac8a-c7bc5f6504e4”}