spec/implementation.rb in watir-webdriver-0.2.0 vs spec/implementation.rb in watir-webdriver-0.2.1

- old
+ new

@@ -6,9 +6,15 @@ imp.name = name imp.browser_class = Watir::Browser imp.browser_args = [browser] + case browser + when :chromedriver + # assumes the chromedriver server is running on the default port + imp.browser_args = [:remote, {:url => "http://localhost:9515"}] + end + imp.guard_proc = lambda { |args| args.any? { |arg| arg == name || arg == [name, browser] } } end