private AndroidNativeElement newAndroidElement(View view) {
    Preconditions.checkNotNull(view);
    if (knownElements.hasElement(new Long(view.getId()))) {
      AndroidNativeElement element =
          (AndroidNativeElement) knownElements.get(new Long(view.getId()));
      if (element.getView().equals(view)) {
        return element;
      }
    }
    AndroidNativeElement e = Factories.getAndroidNativeElementFactory()
        .createAndroidNativeElement(view, serverInstrumentation, keys, knownElements);
    knownElements.add(e);
    return e;
  }
This class contains the functionality to find an Android view with the tag name assigned to it
sample usage : WebElement element = (WebElement)webDriver.executeScript("findElementByAndroidTag", "view_test_tag");
@deprecated Please use new implemented extension mechanism
@see <a href="https://github.com/selendroid/selendroid-extension">extension mechanism Docu</a>
selendroid-server/src/main/java/io/selendroid/server/model/internal/execute_native/FindElementByAndroidTag.java