Created
March 26, 2012 13:05
-
-
Save nuc/2204911 to your computer and use it in GitHub Desktop.
capybara_webkit wait until ajax completion
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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