Answer the question
In order to leave comments, you need to log in
How to insert text into input field on website in WebView?
There is an application with WebView which opens a site.
I successfully implemented the button click:
webView.loadUrl("javascript:document.getElementsByClassName('btn-toolbar btn-toolbar-lg btn-login')[0].click()");
webView.loadUrl("javascript:document.getElementsByName('username').value = 'Допустим логин'");
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question