From 11da463972f646625afa20c31980c9b2ee30e5ce Mon Sep 17 00:00:00 2001 From: joan Date: Thu, 6 Oct 2022 10:38:44 +0200 Subject: [PATCH] Renamed puppeteer method --- print/core/report.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/print/core/report.js b/print/core/report.js index 093f5e99e..4dad566f3 100644 --- a/print/core/report.js +++ b/print/core/report.js @@ -43,7 +43,7 @@ class Report extends Component { }); const page = (await browser.pages())[0]; - await page.emulateMedia('screen'); + await page.emulateMediaType('screen'); await page.setContent(template); const element = await page.$('#pageFooter');