Can I interact with the webview from my python code?

54 views
Skip to first unread message

Fabio Di Matteo

unread,
Nov 15, 2022, 7:24:49 AM11/15/22
to Kivy users support

Is there a way to call the webview's own methods in python? For instance

basically something like that:


webview.runjavascript("alert('hello world')")

or

webview.getElementByID("mydiv").innerHTML("<b>hello world</b>")

thank you

Robert

unread,
Nov 15, 2022, 11:43:35 AM11/15/22
to Kivy users support
The answer is going to be platform specific.
Reply all
Reply to author
Forward
0 new messages