diff --git a/packages/puppeteer-core/src/api/Page.ts b/packages/puppeteer-core/src/api/Page.ts index c23ab8d7f6d..6c3e85b858c 100644 --- a/packages/puppeteer-core/src/api/Page.ts +++ b/packages/puppeteer-core/src/api/Page.ts @@ -2378,7 +2378,7 @@ export abstract class Page extends EventEmitter { } = roundRectangle(normalizeRectangle(options.crop)); if (x < 0 || y < 0) { throw new Error( - `\`crop.x\` and \`crop.x\` must be greater than or equal to 0.` + `\`crop.x\` and \`crop.y\` must be greater than or equal to 0.` ); } if (cropWidth <= 0 || cropHeight <= 0) {