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