# Capybara Screenshots - Full Page
options = {}
# options[:width] = current_window.size[0]
# options[:height] = current_window.size[1]
path = "tmp/screenshot.png"
page.driver.resize_window(2548, 1238)
options[:width] = 2548
options[:height] = 1238
page.driver.save_screenshot(path, options)
Launchy.open path