Is accessing the DOM from within a WebView possible?

Hey guys.

I was wondering if it is possible to get access elements within a loaded web page from within the webview component, e.g. document.getElementById(‘picture’).height;

In the webview documentation its stipulated that javascript execution is limited; properties such as document.location.href and document.title are possible nevertheless.

I ask this because I am trying to resize the webview component according to the height of the loaded page content. So if it is possible to use document.getElementById(‘some-element’).height from within the webview that would be awesome…

Thank you in advance for your Guidance

I don’t see why this wouldn’t be reasonably simple using JS evaluation. If you can access the data you want with a JS function, you can pull that data out into Fuse.