Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
undefined method `render' for #<Capybara::Selenium::Driver:0xbe790b8> #84
Is there a way to solve this?
My spec_helper.rb has this:
Error occurs whenever test fails or I try to create screenshot manually.
An error occurred in an after hook
Thank you in advance! :)
Capybara::Screenshot.register_driver(:chrome) do |driver, path| driver.browser.save_screenshot(path) end