flutter-webview-windows
flutter-webview-windows copied to clipboard
add a way to load and manipulate an off-screen web page
I need a way to load this web page https://spe.riodasostras.rj.gov.br/iptu/guia.aspx off the screen and fill and send the form and get the result page and render inside the Scaffold.
Is there any way to do this with flutter-webview-windows ?
This should be possible by using ExecuteScript
and the message-passing related methods of WebviewController
.
However, from an architecture point of view, I’d delegate such functionality to some backend app.
I would like to do this in the backend, but I haven't found a lib to work with off-screen webview with dart, does this lib work with dart-vm? since my app backend is written in dart, I would like to access the DOM and execute events as in the DotNetBrowser lib https://dotnetbrowser-support.teamdev.com/docs/guides/gs/dom.html#dom.
How does "message-passing" work? Does this allow passing mouse and keyboard events to the webview to eg click a button and or fill in an input ?
How does "message-passing" work? Does this allow passing mouse and keyboard events to the webview to eg click a button and or fill in an input ?
No, it’s just about passing JSON-objects from Dart to JS and vice versa.