Skip to content

Commit

Permalink
fix: use explicit false value for skipNetworkIdleEvent (#57)
Browse files Browse the repository at this point in the history
* fix: use explicit string value for skipNetworkIdleEvent

* Update src/Modules/ChromiumMultipartFormDataModule.php

Co-authored-by: Julien Neuhart <[email protected]>

---------

Co-authored-by: Julien Neuhart <[email protected]>
  • Loading branch information
Tugzrida and gulien authored Feb 12, 2025
1 parent dce958d commit e7f36af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Modules/ChromiumMultipartFormDataModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ public function failOnConsoleExceptions(): self
*/
public function skipNetworkIdleEvent(bool $skip = true): self
{
$this->formValue('skipNetworkIdleEvent', $skip);
$this->formValue('skipNetworkIdleEvent', $skip ?: '0');

return $this;
}
Expand Down

0 comments on commit e7f36af

Please sign in to comment.