Skip to content
This repository has been archived by the owner on Nov 19, 2021. It is now read-only.

Commit

Permalink
Code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
brynary committed Jul 24, 2010
1 parent 1b0f3c7 commit 5c382a5
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions lib/webrat/selenium/selenium_session.rb
Expand Up @@ -236,8 +236,12 @@ def setup #:nodoc:


def create_browser
$browser = ::Selenium::Client::Driver.new(Webrat.configuration.selenium_server_address || "localhost",
Webrat.configuration.selenium_server_port, Webrat.configuration.selenium_browser_key, "http://#{Webrat.configuration.application_address}:#{Webrat.configuration.application_port_for_selenium}")
$browser = ::Selenium::Client::Driver.new(
Webrat.configuration.selenium_server_address || "localhost",
Webrat.configuration.selenium_server_port,
Webrat.configuration.selenium_browser_key,
"http://#{Webrat.configuration.application_address}:#{Webrat.configuration.application_port_for_selenium}"
)
$browser.set_speed(0) unless Webrat.configuration.selenium_server_address

at_exit do
Expand Down

0 comments on commit 5c382a5

Please sign in to comment.