Skip to content

Commit

Permalink
Merge pull request #873 from ziaratban/fix-disable-capture-urls
Browse files Browse the repository at this point in the history
fix disableCaptureURLS
  • Loading branch information
AlexVanderbist authored Nov 25, 2024
2 parents 60bffc6 + 36a6774 commit f8280fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/browser.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ const callChrome = async pup => {
page.on('request', interceptedRequest => {
var headers = interceptedRequest.headers();

if (request.options && !request.options.disableCaptureURLS) {
if (!request.options || !request.options.disableCaptureURLS) {
requestsList.push({
url: interceptedRequest.url(),
});
Expand Down

0 comments on commit f8280fe

Please sign in to comment.