Update
This commit is contained in:
@@ -43,7 +43,10 @@ public function takeScreenshot(string $url, array $options = []): array
|
||||
|
||||
private function configureBrowsershot(string $url, array $options = []): Browsershot
|
||||
{
|
||||
$browsershot = Browsershot::url($url);
|
||||
$browsershot = Browsershot::url($url)
|
||||
->waitUntilNetworkIdle()
|
||||
->preventUnsuccessfulResponse();
|
||||
|
||||
|
||||
if (App::environment('production')) {
|
||||
$browsershot->noSandbox();
|
||||
|
||||
Reference in New Issue
Block a user