lib/watirspec/implementation.rb in watir-6.19.1 vs lib/watirspec/implementation.rb in watir-7.0.0.beta1

- old
+ new

@@ -17,9 +17,13 @@ def name @name || raise('implementation name not set') end + def browser_name + browser_args.first == :ie ? :internet_explorer : browser_args.first + end + def matches_guard?(args) return @guard_proc.call(args) if @guard_proc args.include? name end