Question

I have a page where RFT (Rational Functional Tester) tells me that readyState is 3 for IE. Visually it looks like the loading of this page finished.

Can I somehow manually check the readyState value for a page in firefox or chrome?

Was it helpful?

Solution

Yes, you can use the document.readyState property. It will have the value "complete" if the page finished loading. The other possible states are "loading" (the equivalent of readyState 3 for XMLHttpRequest) and "interactive".

If you need to check that value manually, you can use Web Console in Firefox (CtrlShiftK) and JavaScript console in Chrome (CtrlShiftJ), just type document.readyState into the JavaScript command line and press Enter.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top