From 47d5902ef9638ad72da9ffce271a2cce49f3f979 Mon Sep 17 00:00:00 2001 From: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com> Date: Sat, 21 Sep 2024 16:28:06 -0400 Subject: [PATCH] Fix screenshot options --- src/utils/UrlContentFetcher.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/UrlContentFetcher.ts b/src/utils/UrlContentFetcher.ts index db02940..c312d96 100644 --- a/src/utils/UrlContentFetcher.ts +++ b/src/utils/UrlContentFetcher.ts @@ -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: {