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?

有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top