diff --git a/lib/capybara-screenshot.rb b/lib/capybara-screenshot.rb index 92ead33..f68b8fd 100644 --- a/lib/capybara-screenshot.rb +++ b/lib/capybara-screenshot.rb @@ -190,6 +190,10 @@ def self.capybara_tmp_path=(path) :not_supported end end + + register_driver(:apparition) do |driver, path| + driver.save_screenshot(path) + end end # Register filename prefix formatters