lib/webrat/core/configuration.rb in ohammersmith-webrat-0.4.4.98 vs lib/webrat/core/configuration.rb in ohammersmith-webrat-0.4.4.100

- old
+ new

@@ -51,10 +51,13 @@ # Which server Selenium port is running on. Defaults to 4444 attr_accessor :selenium_server_port # Set the key that Selenium uses to determine the browser running. Default *firefox attr_accessor :selenium_browser_key + + # Set the javascript framework that tells Selenium how to wait for Ajax events + attr_accessor :selenium_javascript_framework # How many redirects to the same URL should be halted as an infinite redirect # loop? Defaults to 10 attr_accessor :infinite_redirect_limit @@ -66,9 +69,10 @@ self.application_address = 'localhost' self.application_framework = :rails self.selenium_server_port = 4444 self.infinite_redirect_limit = 10 self.selenium_browser_key = '*firefox' + self.selenium_javascript_framework = :prototype end def parse_with_nokogiri? #:nodoc: @parse_with_nokogiri ? true : false end