Skip to content

Capybara

wendysmoak edited this page Dec 21, 2019 · 1 revision

= Capybara =

See also: RSpec

save_and_open_screenshot does not always work, but save_and_open_page always does

Setting the size of the screenshot image: Capybara::Screenshot.webkit_options = { width: 1024, height: 768 }

From https://github.com/mattheworiordan/capybara-screenshot

Clone this wiki locally