Skip to content

Commit

Permalink
Add apparition driver
Browse files Browse the repository at this point in the history
  • Loading branch information
sedubois authored and mattheworiordan committed Jun 24, 2019
1 parent cc20b08 commit 273317b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/capybara-screenshot.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 273317b

Please sign in to comment.