Skip to content

Instantly share code, notes, and snippets.

@nuc
Created March 26, 2012 13:05
Show Gist options
  • Save nuc/2204911 to your computer and use it in GitHub Desktop.
Save nuc/2204911 to your computer and use it in GitHub Desktop.
capybara_webkit wait until ajax completion
wait_until do
page.evaluate_script('$.active') == 0
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment