mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-20 12:21:13 -05:00
Fix screenshot options
This commit is contained in:
@@ -133,7 +133,7 @@ export class UrlContentFetcher {
|
|||||||
// image cannot exceed 8_000 pixels
|
// image cannot exceed 8_000 pixels
|
||||||
const pageHeight = await this.page.evaluate(() => document.documentElement.scrollHeight)
|
const pageHeight = await this.page.evaluate(() => document.documentElement.scrollHeight)
|
||||||
let options: ScreenshotOptions = {
|
let options: ScreenshotOptions = {
|
||||||
fullPage: true,
|
// fullPage: true, // clip and fullPage are mutually exclusive
|
||||||
encoding: "base64",
|
encoding: "base64",
|
||||||
// quality: 80,
|
// quality: 80,
|
||||||
clip: {
|
clip: {
|
||||||
|
|||||||
Reference in New Issue
Block a user