lib/webrat/core/configuration.rb in dbrady-webrat-0.4.4.1 vs lib/webrat/core/configuration.rb in dbrady-webrat-0.4.4.2

- old
+ new

@@ -52,23 +52,27 @@ 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 timeout for waiting for the browser process to start + attr_accessor :selenium_browser_startup_timeout + # How many redirects to the same URL should be halted as an infinite redirect # loop? Defaults to 10 attr_accessor :infinite_redirect_limit def initialize # :nodoc: self.open_error_files = true - self.parse_with_nokogiri = !Webrat.on_java? + self.parse_with_nokogiri = true self.application_environment = :test self.application_port = 3001 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_browser_startup_timeout = 5 end def parse_with_nokogiri? #:nodoc: @parse_with_nokogiri ? true : false end