lib/taza/browser.rb in taza-0.9.2.1 vs lib/taza/browser.rb in taza-1.0
- old
+ new
@@ -55,12 +55,12 @@
end
def self.watir_ie(params)
require 'watir'
if params[:attach]
- browser = Watir::IE.find(:title, //)
+ browser = Watir::Browser.find(:title, //)
end
- browser || Watir::IE.new
+ browser || Watir::Browser.new
end
end
# We don't know how to create the browser you asked for
class BrowserUnsupportedError < StandardError; end