Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Code formatting

  • Loading branch information...
commit 5c382a5378f4fd9e76812069b783fcaeb27abac7 1 parent 1b0f3c7
@brynary authored
Showing with 6 additions and 2 deletions.
  1. +6 −2 lib/webrat/selenium/selenium_session.rb
View
8 lib/webrat/selenium/selenium_session.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.