I'd like to be able to figure out what object is at an arbitrary (x,y) point in a WebView
, preferably without causing anything to change on the page. I'm developing an accessibility app for Android where the target of a link needs to be identified before the link is activated; long-pressing on the link is (sadly) not an option.
getHitTestResult
does basically what I want, but only for the current "cursor node". I can't find any documentation about this "cursor node", but I suspect it requires a touch event to appear at the target point.