Replies: 2 comments 2 replies
-
I just came here to ask the same question. Did you ever find a solution? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Can I create PR for this? Let say we set 30s for default Inside bin/browser.cjs: browser = await puppet.launch({
...
...
...
protocolTimeout: request.options.protocolTimeout,
}); src/Browsershot.php: protected int $protocolTimeout = 30;
public function protocolTimeout(int $protocolTimeout): static
{
$this->protocolTimeout = $protocolTimeout;
return $this->setOption('protocolTimeout', $protocolTimeout * 1000);
} |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone,
im trying to generate a very large PDF file and I'm running into
protocolTimeout
Errors.I can increase that timeout by editing that property in the
bin/browser.js
file directly but I was wondering if I can accomplish the the same, without editing vendor files 😄Thanks alot!
Beta Was this translation helpful? Give feedback.
All reactions