title: WebRat+Selenium WebDriver: wait for ajax to be completed
body: <p>We are running Webrat with Selenium2.0 aka WebDriver in our application.</p>
  
  <p>WebDriver handles page reloading very well and do not start next steps if the browser is reloading entire page. The problem is that this mechanism doesn't work with Ajax requests. WebDriver doesn't do any idle when there some after click() or change().</p>
  
  <p>Can anyone suggest how to make webdriver idle until the end of all ajax requests on the page?</p>