lib/watirsplash/frameworks/watir-webdriver/firefox.rb in watirsplash-2.0.0.rc2 vs lib/watirsplash/frameworks/watir-webdriver/firefox.rb in watirsplash-2.0.0
- old
+ new
@@ -1,11 +1,9 @@
require_rel "../watir-webdriver.rb"
module WatirSplash
class Browser
def self.new
- browser = Watir::Browser.new :firefox
- Util.formatter.browser = browser
- browser
+ prepare Watir::Browser.new(:firefox)
end
end
end