@Override
    public void onReceivedLoginRequest(WebView view, String realm, String account, String args) {
      if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB_MR1) {
        WVC.onReceivedLoginRequest(view, realm, account, args);
      }
    }
Unconventional way of adding a Javascript interface but the main reason why I took this way
is that it is working stable compared to the webview.addJavascriptInterface way.
selendroid-server/src/main/java/io/selendroid/server/model/SelendroidWebDriver.java