From f41f557feed55a4e790c1f0d043cd9d411e4fb6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Naskr=C4=99ski?= <36169811+jaknas@users.noreply.github.com> Date: Wed, 9 Aug 2023 20:47:59 +0200 Subject: [PATCH] Make userAgent configurable --- src/setup-page.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/setup-page.ts b/src/setup-page.ts index a4ac3acc..b64b78ad 100644 --- a/src/setup-page.ts +++ b/src/setup-page.ts @@ -238,6 +238,7 @@ export const setupPage = async (page: Page, browserContext: BrowserContext) => { get: function () { return [originalUserAgent, extra].join(' '); }, + configurable: true, }); } };