Prevent unsuccessful responses You may want to throw an error when the page response is unsuccessful, you can use the following method : Browsershot::url('https://example.com') ->preventUnsuccessfulResponse() ...