Appium keeps connecting detached WebView

Hi!

While using Appium for Hybrid app, we found that Appium keeps connecting to detached WebView using chromedriver.

Steps:

  1. Start Activity 1 contains WebView
  2. Switch context to WebView and do some testing…
  3. Start Activity 2 doesn’t contains WebView
  4. Back to Activity 1 contains WebView
  5. Switch context to WebView, but can’t find element.

I think followings are related issue, but not sure:

  • Sorry for detaching https://. I am new user and can’t post link.

Thank you!