diff --git a/src/utils.js b/src/utils.js index f7882904..79b9486c 100644 --- a/src/utils.js +++ b/src/utils.js @@ -116,6 +116,7 @@ export async function* withPage(percy, url, callback, retry) { let page = yield percy.browser.page({ networkIdleTimeout: percy.config.discovery.networkIdleTimeout, requestHeaders: getAuthHeaders(percy.config.discovery), + captureMockedServiceWorker: percy.config.discovery.captureMockedServiceWorker, userAgent: percy.config.discovery.userAgent });