How can I simulate pressing a button inside a WebView in Android Studio?

1

I'm making an app to download videos what it does is that the webview is directed to a web page to discard the video and what I want to do is simulate pressing the download button inside a webview but without pressing it on the web view so the user does not have to press it , but to press a button outside and that by means of this code simulates the pressing of the button inside the webview as in vb.net

WebBrowser1.Document.GetElementById("id_del_boton").InvokeMember("click")

but I'm looking and I can not find anything about it

    
asked by Omar Fernando 13.07.2018 в 01:45
source

0 answers