[Gambas-user] gb.gui.webview

Benoît Minisini g4mba5 at gmail.com
Mon Apr 26 13:39:54 CEST 2021


Le 26/04/2021 à 05:34, Dimitris Anogiatis a écrit :
> Benoit,
> 
> Would it be possible to get the page contents by using a javascript 
> command like: "document.body.innerHTML;" through the ExecJaascript 
> method in gb.qt5.webview?

Yes.

I didn't make an HTML property because now the underlying method is 
asynchronous.

But i could do the same thing as ExecJavascript method(), i.e. wait for 
the completion of the asynchronous method.

Regards,

-- 
Benoît Minisini


More information about the User mailing list