Skip to content

Commit

Permalink
feat: add captureServiceWorker flag when opening browser
Browse files Browse the repository at this point in the history
  • Loading branch information
nilshah98 committed Nov 27, 2023
1 parent 6a02490 commit 853dd83
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -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),
captureServiceWorker: percy.config.captureServiceWorker,
userAgent: percy.config.discovery.userAgent
});

Expand Down

0 comments on commit 853dd83

Please sign in to comment.