Fix screenshot options

This commit is contained in:
Saoud Rizwan
2024-09-21 16:28:06 -04:00
parent 46ceafa016
commit 47d5902ef9

View File

@@ -133,7 +133,7 @@ export class UrlContentFetcher {
// image cannot exceed 8_000 pixels
const pageHeight = await this.page.evaluate(() => document.documentElement.scrollHeight)
let options: ScreenshotOptions = {
fullPage: true,
// fullPage: true, // clip and fullPage are mutually exclusive
encoding: "base64",
// quality: 80,
clip: {