I have installed capybara-screenshot gem to save the screenshot and in cucumber step definition i called screenshot_and_open_image but i got error that says:
No application found to handle 'application_path/public/tmp/screenshot_2014-06-18-11-07-39.063.png' (Launchy::ApplicationNotFoundError)
Can anybody assist me?
Try to use Capybara::Screenshot.screenshot_and_open_image
. And if you have a test javascript please specify js: true
for him.
it "my test", js: true do
blablabla
end
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With