spec/implementation.rb in watir-webdriver-0.5.2 vs spec/implementation.rb in watir-webdriver-0.5.3
- old
+ new
@@ -9,11 +9,11 @@
set_webdriver
set_browser_args
set_guard_proc
add_html_routes
- WatirSpec.always_use_server = mobile?
+ WatirSpec.always_use_server = mobile? || ie?
end
private
def set_webdriver
@@ -32,9 +32,13 @@
end
end
def mobile?
[:android, :iphone].include? browser
+ end
+
+ def ie?
+ [:ie, :internet_explorer].include? browser
end
def set_guard_proc
matching_guards = [
:webdriver, # guard only applies to webdriver