title: Meteor application load testing with k6, wait on body element
body: <p>New to k6, working with a web application that presents a spinner briefly on the home page while css and js files load. </p>
  
  <p>Once the files are loaded and scripts are available, a login form is added (replacing the spinner).</p>
  
  <ul>
  <li>With k6, is there a way to wait until a specific body element (the login form) is available in the body before continuing with the next step (ie. populating the username and pwd and submitting the form to login)?</li>
  </ul>
  
  <p>Currently, when I review the response body, I see the spinner element only. Adding a delay does not appear to affect the body returned, even though the login form should, in theory, have been added to the page.</p>
  
  <p>If the element is added to the body after the initial page load, will it  be detected by k6 and made available in the response?</p>
  
  <p>Thanks for your help.</p>
  
  <p>Bill</p>