lib/page_magic/drivers/selenium.rb in page_magic-2.0.3 vs lib/page_magic/drivers/selenium.rb in page_magic-2.0.4

- old
+ new

@@ -1,6 +1,6 @@ # frozen_string_literal: true PageMagic::Drivers::Selenium = PageMagic::Driver.new(:chrome, :firefox) do |app, options, browser| - require 'watir' + require 'capybara/selenium/driver' Capybara::Selenium::Driver.new(app, **options.dup.merge(browser: browser)) end