title: Codeception sometimes sees a blank page
body: <p>At times Codeception will throw an error because an element is not found, when I look at the screenshot it shows a blank page.</p>
  <p><a href="https://i.stack.imgur.com/XoMBw.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XoMBw.jpg" alt="enter image description here" /></a></p>
  <p>I do see content in the HTML file that is generated. I guess it just needs more time to load, what would be the most effective way of catching this? (without using visualception).</p>
  <p>I was thinking of always waiting for some text in the footer, but may be there's a better approach?</p>
  <p><strong>TLDR;</strong></p>
  <p><strong>What is most efficient way of checking that page is blank without activating visual detection? (source code is not blank and JS appears to be fully loaded)</strong></p>
  <p>Thank you</p>