1
0
Fork 0
mirror of https://github.com/thoughtbot/capybara-webkit synced 2023-03-27 23:22:28 -04:00
capybara-webkit/lib/capybara/webkit.rb

19 lines
310 B
Ruby
Raw Normal View History

require "capybara"
module Capybara
module Webkit
end
end
require "capybara/webkit/driver"
Capybara.register_driver :webkit do |app|
Capybara::Webkit::Driver.new(app)
end
Capybara.register_driver :webkit_debug do |app|
driver = Capybara::Webkit::Driver.new(app)
driver.enable_logging
driver
end