rb/lib/selenium/client/extensions.rb
def wait_for_ajax(options={})
		    builder = JavascriptExpressionBuilder.new active_javascript_framework(options)
	      wait_for_condition builder.no_pending_ajax_requests.script,
	                         options[:timeout_in_seconds]
      end
# These for all Ajax request to finish (Only works if you are using prototype, the wait happens in the browser)
#
These for all Ajax request to finish (Only works if you are using prototype, the wait happens in the browser)
These for all Ajax request to finish ( Only works if you are using prototype the wait happens in the browser )
def wait_for_ajax(options={})
		    builder = JavascriptExpressionBuilder.new active_javascript_framework(options)
	      wait_for_condition builder.no_pending_ajax_requests.script,
	                         options[:timeout_in_seconds]
      end
def wait_for_ajax ( options = { } ) builder = JavascriptExpressionBuilder . new active_javascript_framework ( options ) wait_for_condition builder . no_pending_ajax_requests . script , options [ :timeout_in_seconds ] end
These for all Ajax request to finish (Only works if you are using prototype, the wait happens in the browser)
These for all Ajax request to finish ( Only works if you are using prototype the wait happens in the browser )
options