Sha256: c0a18734f602e09a7ba2f1050b934e8afd4049ef89120a4904db121c6919e4e7
Contents?: true
Size: 212 Bytes
Versions: 2
Compression:
Stored size: 212 Bytes
Contents
# This code courtesy of art.ly # http://www.webcitation.org/68jfoNAWt def wait_for_ajax(timeout = Capybara.default_wait_time) page.wait_until(timeout) do page.evaluate_script 'jQuery.active == 0' end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
answers-core-0.0.0.2 | spec/support/wait_for_ajax_helper.rb |
answers-core-0.0.0 | spec/support/wait_for_ajax_helper.rb |