pull/1/head
Matteo Cargnelutti 2022-11-18 16:00:18 -05:00
rodzic d812682556
commit 64e1200e9c
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -185,7 +185,7 @@ export class TwitterCapture {
headless: true, headless: true,
channel: "chrome", channel: "chrome",
}); });
this.playwright.context = await this.playwright.browser.newContext({ userAgent }); this.playwright.context = await this.playwright.browser.newContext({ userAgent, serviceWorkers: "block" });
this.playwright.page = await this.playwright.context.newPage(); this.playwright.page = await this.playwright.context.newPage();
this.playwright.page.setViewportSize(viewport); this.playwright.page.setViewportSize(viewport);