Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
AgnesToulet authored Jan 31, 2025
1 parent 7b7ce4a commit 0c9df71
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/browser/browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ export class Browser {
page.on('request', this.logRequest);
page.on('requestfinished', this.logRequestFinished);
page.on('close', this.logPageClosed);
page.on('response', this.logRedirectResponse)
page.on('response', this.logRedirectResponse);
}
}

Expand All @@ -532,7 +532,7 @@ export class Browser {
page.off('request', this.logRequest);
page.off('requestfinished', this.logRequestFinished);
page.off('close', this.logPageClosed);
page.off('response', this.logRedirectResponse)
page.off('response', this.logRedirectResponse);
}
}

Expand Down Expand Up @@ -567,7 +567,7 @@ export class Browser {
const status = resp.status();
if (status >= 300 && status <= 399 && resp.request().resourceType() === 'document') {
const headers = resp.headers();
this.log.debug(`Redirect from ${resp.url()} to ${headers['location']}`)
this.log.debug(`Redirect from ${resp.url()} to ${headers['location']}`);
}
};

Expand Down

0 comments on commit 0c9df71

Please sign in to comment.