mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
2ee4058cc5
`Capybara::RackTest::Driver` does not support taking screenshots. If call `#save_screenshot` on `Capybara::RackTest::Driver` will raise the error. ```ruby Error: UsersTest#test_visiting_the_index: Capybara::NotSupportedByDriverError: Capybara::Driver::Base#save_screenshot ``` To prevent errors, if driver does not support screenshot, do not call it. |
||
---|---|---|
.. | ||
test_helpers | ||
browser.rb | ||
driver.rb | ||
server.rb |