My assumption is: This is an incorrect assumption. The DOMContentLoaded event happens on the document object. Could very old employee stock options still be accessible and viable? If you want to check a specific page, press the "check page" button. How can I validate an email address in JavaScript? Lets see the full events flow for the completeness. To subscribe to this RSS feed, copy and paste this URL into your RSS reader. Too many people use onload and it might not fire for seconds after the page is displayed to the user. For the Cache object. By clicking Post Your Answer, you agree to our terms of service, privacy policy and cookie policy. Software Quality Assurance & Testing Meta. My approach is: Verify the URL is shown as expected. Can i directly change a value of a variable on the site? How to calculate the number of days between two dates in JavaScript ? Sometimes, We want to check if the page is reloaded or refreshed. While using W3Schools, you agree to have read and accepted our, ,
,