Skip to content

Commit

Permalink
Reverted setting of targetID
Browse files Browse the repository at this point in the history
  • Loading branch information
olegbespalov committed Dec 20, 2024
1 parent 707cd2d commit ba9a7a7
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions js/modules/k6/browser/common/browser_context.go
Original file line number Diff line number Diff line change
Expand Up @@ -262,16 +262,7 @@ func (b *BrowserContext) NewPage() (*Page, error) {
return nil, err
}

var (
bctxid cdp.BrowserContextID
ptid target.ID
)
if b != nil {
bctxid = b.id
}

b.logger.Debugf("BrowserContext:NewPage:return", "bctxid:%v ptid:%s", bctxid, ptid)

b.logger.Debugf("BrowserContext:NewPage:return", "bctxid:%v ptid:%s", b.id, p.targetID)
return p, nil
}

Expand Down

0 comments on commit ba9a7a7

Please sign in to comment.