docs(multi-pages): add a note about popups (#8656)
This commit is contained in:
parent
b755705bf1
commit
63e9287b36
|
|
@ -266,7 +266,7 @@ context.Page += async (_, page) => {
|
|||
|
||||
## Handling popups
|
||||
|
||||
If the page opens a pop-up, you can get a reference to it by listening to the `popup` event on the page.
|
||||
If the page opens a pop-up (e.g. pages opened by `target="_blank"` links), you can get a reference to it by listening to the `popup` event on the page.
|
||||
|
||||
This event is emitted in addition to the `browserContext.on('page')` event, but only for popups relevant to this page.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue