-
Notifications
You must be signed in to change notification settings - Fork 309
Open
Description
On around 50% of occasions, I get very weird viewport clipping when screenshotting a page.
Here's what the image should look like:
This is what it sometimes looks like:
Other times it looks like this:
I've tried manually setting the window size:
$browser = new BrowserFactory()->createBrowser([
'windowSize' => [1200, 628],
]);As well as this:
$page->setDeviceMetricsOverride([
'width' => 1200,
'height' => 628,
]);Also tried with and without these options:
$screenshot = $page->screenshot([
'captureBeyondViewport' => true,
'clip' => $page->getFullPageClip(),
]);But still, the issue seems to persist from time to time.
Metadata
Metadata
Assignees
Labels
No labels