title: Capybara wait for page to load all elements completely with Ruby
body: <p>after a long useless search I'd like to ask the following: </p>
  
  <p><strong>1</strong>. What happens particularly after Capybara returns {"status" => "success"}? Does it wait until all elements are being loaded (such as JS, etc.)? Or it just handles HTTP 200 response and sends it back not giving a care? </p>
  
  <p><strong>2</strong>. Is there any other way to make Capybara wait for the page to completely load all the elements and functions except for setting up a timeout? </p>
  
  <p>For instance, is there any method to tell Capybara: "was JS executed while visiting a particular page?" or "was the page loading done completely?".</p>
  
  <p>I'll appreciate any ideas, thank you! </p>