Registry / testing / capybara-screenshot

capybara-screenshot

JSON →
library1.0.27rbrubygemsunverified

When a Cucumber step fails, it is useful to create a screenshot image and HTML file of the current page.

gem install capybara-screenshot
INSTALL
IMPORT
SIG · CAPYBARA-SCREENSHO
C
capybara-screenshot
testingrubyv1.0.27
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Capybara::Screenshot
require 'capybara-screenshot'

Automatically capture screenshots on test failure

require 'capybara-screenshot' Capybara::Screenshot.register_driver(:selenium) do |driver, path| driver.save_screenshot(path) end # Automatically captures screenshots on test failure
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.27latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
10
Amazon
1
OpenAI (training)
1
Resources
capybara-screenshot — gem install capybara-screenshot · libregistry