We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20ad276 commit ead26a4Copy full SHA for ead26a4
src/Stages/BrowserStage.php
@@ -138,7 +138,7 @@ public function __invoke(mixed $payload): string
138
if ($this->browsershotInstance instanceof \Spatie\Browsershot\Browsershot) {
139
// Clone the provided instance and set HTML
140
$browsershot = clone $this->browsershotInstance;
141
- $browsershot = $browsershot->html($this->html);
+ $browsershot = $browsershot->setHtml($this->html);
142
} else {
143
// Create default Browsershot instance
144
$browsershot = Browsershot::html($this->html);
0 commit comments