开发者

Track http requests from android native browser

开发者 https://www.devze.com 2023-04-02 21:32 出处:网络
Is it possible to track/view the list of http requests made from a webpage on Android browser?(somethin开发者_如何学运维g similar to firebug\'s net panel)

Is it possible to track/view the list of http requests made from a webpage on Android browser?(somethin开发者_如何学运维g similar to firebug's net panel) I have tried adding firebug-lite but it doesn't seem to have net panel. Also looked at weinre but not very clear as to how I can use it. Prefer avoiding network capture.Hence not leaning towards wireshark/apache logs. Is it possible to log it into logcat?


If you only want this for debugging purposes, I think the simplest way to do it is to create a small app that loads your website in a WebView and, through the use of WebViewClient (specifically the onLoadResource method) and possibly WebChromeClient logs all the requests that are made on the page.

0

精彩评论

暂无评论...
验证码 换一张
取 消