Skip to content

Commit

Permalink
* abiltity to set confiruration option for selenium additional args
Browse files Browse the repository at this point in the history
  • Loading branch information
raldred committed Nov 5, 2009
1 parent f5abc1d commit 29d2f42
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/webrat/core/configuration.rb
Expand Up @@ -53,6 +53,9 @@ class Configuration

# Set the timeout for waiting for the browser process to start
attr_accessor :selenium_browser_startup_timeout

# Set the additional args for the rc server startup command
attr_accessor :selenium_additional_args

# How many redirects to the same URL should be halted as an infinite redirect
# loop? Defaults to 10
Expand All @@ -68,6 +71,7 @@ def initialize # :nodoc:
self.infinite_redirect_limit = 10
self.selenium_browser_key = '*firefox'
self.selenium_browser_startup_timeout = 5
self.selenium_additional_args = []
end

def open_error_files? #:nodoc:
Expand Down

0 comments on commit 29d2f42

Please sign in to comment.