Skip to content

Conversation

OrKoN
Copy link
Collaborator

@OrKoN OrKoN commented Aug 1, 2022

This PR restores the use of loaderId to determine which type of navigation to wait for when a page navigates using Page.goto. beforeunload handlers in a new document navigation may trigger a few same document navigations and, thus, loaderId is required to distinguish between same-document and new-document navigations.

@OrKoN OrKoN requested a review from jrandolf-2 August 1, 2022 13:17
@OrKoN OrKoN merged commit bec6f61 into main Aug 1, 2022
@OrKoN OrKoN deleted the fix-loaderId branch August 1, 2022 13:39
leonardo-fernandes added a commit to leonardo-fernandes/puppeteer-sharp that referenced this pull request Jun 14, 2023
kblok pushed a commit to hardkoded/puppeteer-sharp that referenced this pull request Jun 15, 2023
* Fix PageGotoTests' flakyness.

See puppeteer/puppeteer#8717

* Fix PageGotoTests.ShouldWorkWhenNavigatingTo404 when executed in headful mode.

See puppeteer/puppeteer#9577
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants