diff --git a/experimental/puppeteer-firefox/lib/Page.js b/experimental/puppeteer-firefox/lib/Page.js index 966f5c75..927af21b 100644 --- a/experimental/puppeteer-firefox/lib/Page.js +++ b/experimental/puppeteer-firefox/lib/Page.js @@ -797,7 +797,7 @@ function getScreenshotMimeType(options) { const fileType = mime.getType(options.path); if (fileType === 'image/png' || fileType === 'image/jpeg') return fileType; - throw new Error('Unsupported screnshot mime type: ' + fileType); + throw new Error('Unsupported screenshot mime type: ' + fileType); } return 'image/png'; }