The previous check would pass even if the page content hadn't loaded!