title: Google Chrome Extension How to wait for page to be loaded completely (loading screen)
body: <p>My chrome extension is trying to use CSS selectors on pages to grab certain elements. I am running into an issue where on websites that load abnormally/ continuously load elements after it's changeInfo.status is already "complete" when my script is executed, it doesn't grab info from sections that haven't loaded. An example of this are websites with loading screens and websites with multiple frames.  A possible solution would be for the user to click a button to execute the script, but I was wondering if there was alternate way to tell my script to wait for the page to fully load so it can automatically pull the information. I would like an alternate solution than setting allFrames to true because it doesn't work for all websites with this issue, nor do I find it necessary for my script to run on every frame it encounters. I have also tried waiting for the load event, but that did not work for me.</p>