Skip to content

Commit

Permalink
Reduce invalid browser context attachment log
Browse files Browse the repository at this point in the history
  • Loading branch information
inancgumus committed Feb 22, 2024
1 parent 01a1d06 commit c8416b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/browser.go
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ func (b *Browser) isAttachedPageValid(ev *target.EventAttachedToTarget, browserC
}
// If the target is not in the same browser context as the current one, ignore it.
if browserCtx.id != targetPage.BrowserContextID {
b.logger.Warnf(
b.logger.Debugf(
"Browser:isAttachedPageValid", "incorrect browser context sid:%v tid:%v bctxid:%v target bctxid:%v",
ev.SessionID, targetPage.TargetID, targetPage.BrowserContextID, browserCtx.id,
)
Expand Down

0 comments on commit c8416b3

Please sign in to comment.