I have an app, that has an Activity
with WebView
. I'm looking for a way to get parent html element when user clicks WebView
.
For instance: user goes to web-site, clicks some text block and I want to get div
, that contains this text block. Is it possible? I found class WebView.HitTestResult
in the docs, but seems like it only can to retrieve anchor and image tags.