I have an app which uses a WebView
to display the content. The problem is that the AndroidViewClient
dump produces the same results with only a WebView
id whether the page is loaded or not therefore it's not possible to know when the page is loaded.
I can't type anything in the address bar of this app WebView
to try getting the html code, no possible copy/paste too.
For the moment I use a static timeout and hope that the page is loaded within this time.
Is it possible to know when the page is loaded or even better getting the html code of this WebView
page via AndroidViewClient
or adb
commands or any other external apps?
Asked
Active
Viewed 199 times
0

Dinith Rukshan Kumara
- 638
- 2
- 10
- 19

AbrtFus
- 29
- 7
-
check this https://stackoverflow.com/a/5172952/9752602 – sneharc Jun 12 '18 at 07:33
-
this app is not mine so I can't use the java code to check the page is loaded. I use AndroidViewClient to automate this app which has the webview. – AbrtFus Jun 12 '18 at 08:39