method

save_and_open_page

rails latest stable - Class: ActionDispatch::TestHelpers::PageDumpHelper

Method not available on this version

This method is only available on newer versions. The first available version (v7.2.3) is shown here.

save_and_open_page(path = html_dump_default_path)
public

Saves the content of response body to a file and tries to open it in your browser. Launchy must be present in your Gemfile for the page to open automatically.