Laravel - Browser Tests - Storing Page Source To Disk

You may use the storeSource method to write the current page's source to disk with the given filename. The page source will be stored within the tests/Browser/source directory:

    
    $browser->storeSource('filename');