Is there any network tab with ie8 developer tool? If not then how to track network traffic in ie8 browser? - ie-developer-tools

How can I use IE8 Developer Tools to inspect network traffic?
Actually I need to test if files have loaded or if any errors occurred during page load .ln Firefox/Firebug I can do this by using the NET tab.

Internet Explorer 8 doesn't support network statistics in its developer tools. You'll need to upgrade to Internet Explorer 9 or use a third-party tool like Fiddler to inspect traffic.

Related

chrome developer tools not showing traffic

I was trying to understand how https://webk.telegram.org works, so I opened chrome dev tools and went to inspect the network traffic.
I was surprised to see that when I send a message in telegram I don't see any xhr nor websocket traffic in chrome dev tools.
Any idea through which channel the traffic is going ? Why is it not intercepted by chrome network inspector (and can this be fixed)?

Does Firefox has similar remote debugging protocol like Chrome Debugging Protocol

Chrome Debugging Protocol is a very good protocol to develop on Chrome, I am looking for the similar remote debugging protocol if Firefox support.
As I known, Firebug is the debugging tool of Firefox, but it is run as a plugin/extension, I need to debug Firefox with separated client connect to Firefox using websocket or other protocols, Then do some statistics for networking and etc.
Please see: https://firefox-source-docs.mozilla.org/remote/index.html.
It does support a subset of the chrome devtools protocol.
AFAIK, if you're trying to drive a browser like you can chrome, it will not work.

Why I cannot see network activity in WhatsApp Web?

Why I cannot see network activity in WhatsApp Web? I mean in developer tools (F12), in the Network tab. I tried with both Firefox and Google Chrome.
In Firefox navigate to web.whatsapp.com. Open developer tools (F12). Go to network tab. Select WS. Refresh the web page. Now you can see the web socket logs.
You won't see network traffic if you open developer tools after initial WS is send.

chrome: disable internet connection or work offline

How can I disable internet connection or work offline like Firefox in Chrome? I need to check some errors when Internet is not available.
offline mode is added to Chrome v45.
Developer tools -> Network tab -> Choose "offline" from selectbox.
Offline switcher is a new handy Chrome Extension to do the job quickly. You can toogle to switch between offline and online mode.
The add-on is simple, just to set Chrome proxy to an un-existing point.
Under the network tab, go to the THrottling dropdown where you can select different speeds of web and even set it to be offline. This comes very handy when you are working with service workers and want to test your application in offline mode.
Refer to the latest answer:
https://stackoverflow.com/a/32607960/2520254
Until Chrome has a feature to disable internet but retains localhost (or local network) connections. The only way I could suggest is to just disconnect the network from the internet manually for your testing.

Chrome Web Inspector Web Socket Debugging

I can use the Network tab in the Google Chrome Web Inspector to debug the network traffic (AJAX requests, etc.). I can check what data is transferred easily. But Websocket connections only show as
Request URL:ws://localhost/...
Request Method:GET
Status Code:101 Switching Protocols
...
and I can't see the transferred data. Is there any build in feature in Google Chrome to inspect the transferred data? Or do I need to use Wireshark?
PS: I'm using the latest stable version (16.0.912.75). If a newer version (beta/dev) has this features, it would be nice.
Chrome and Chromium now have WebSocket message frame inspection. Here are the steps to test it quickly:
Navigate to the WebSocket Echo demo, hosted on the websocket.org site.
Turn on the Chrome Developer Tools.
Click Network, enable filter (3rd icon from the left on the top of Dev Tools) to filter the traffic shown by the Developer Tools, and click WebSockets.
In the Echo demo, click Connect. On the Headers tab in Google Dev Tool you can inspect the WebSocket handshake.
Click the Send button in the Echo demo.
To see the WebSocket frames in Chrome Developer Tools, under Name, click the entry representing your WebSocket connection. This refreshes the main panel on the right and makes the WebSocket Frames tab show up with the actual WebSocket message content.
I also posted the steps with screen shots and video.
After some more research I found a duplicate question here: Debugging WebSocket in Google Chrome
Chrome does't support viewing the traffic in the current stable version. I need to use Wireshark.
Another Idea, for simple web socket testing and lightweight, use Chrome plugin "Simple Web-socket. I wanted to check only if the connection can be establish or not. Following Chrome plugin "Simple Web-socket (link : https://chrome.google.com/webstore/detail/simple-websocket-client/pfdhoblngboilpfeibdedpjgfnlcodoo?hl=en)" work like charm. See image.
https://lh3.googleusercontent.com/bEHoKg3ijfjaE8-RWTONDBZolc3tP2mLbyWanolCfLmpTHUyYPMSD5I4hKBfi81D2hVpVH_BfQ=w640-h400-e365