D
D
Danil Chekalin2018-11-21 16:00:41
Android
Danil Chekalin, 2018-11-21 16:00:41

How to emulate paste in an input in an Android WebView?

I have a WebView and I'm looking for some solution that will allow me to click on a certain input in the WebView and paste the text from the buffer there. That is to emulate a person. Is that possible?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mikhail Chvarkov, 2018-11-21
@KuSu

Alternatively, you can try this: intercept the page in the onPageFinished method, inline your javascript method in the markup, and then pull this javascript method.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question