I do not find anything to get the text directly. Workaround may be:
When you download webview, you parse the html. As described here
There you save all the links on the map using the URL as a key and text as a value.
Then:
webview.setWebViewClient(new WebViewClient() { @Override public boolean shouldOverrideUrlLoading(WebView view, String url) { String text = map.get(url); return super.shouldOverrideUrlLoading(view, url); } });
source share