New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some pages not fully loading when setRequestInterception set to true #4442
Comments
I've noticed this issue as well - removing the request interception allows test to proceed which would otherwise timeout. In my case, I have the |
I saw this with 1.15.0 and am now seeing it with 1.16.0. |
Hello everyone, To fix this, go to release notes, here you can see the required Chromium version in order to use puppeteer correctly, in this case, you need to update to: Chromium 75.0.3765.0. (puppeteer 1.15) If you use Google Chrome (not chromium), you will need to wait until Jun 4 for official stable release (v75), or install the version in beta (unstable) |
Version 1.14 is last one that this is working. According to issue #3118 |
It's because puppeteer 1.15 requires chrome v75+ @dvil88, please read my comment and you will understand |
@Yokutto yup, I read it after writing my comment lol. I was using my own chrome because of the policy settings but now I've managed to add the settings to the chrome opened by puppeteer so I can work with that version. |
Doesn't work for me in the stated versions and I let Puppeteer download the version of Chromium automatically. |
@vincenthawke Thank you for filing this! ❤️ Fix has landed upstream with https://chromium-review.googlesource.com/c/chromium/src/+/1636684 |
This roll includes: - https://crrev.com/665226 - DevTools: make interception respect cross-process frame boundaries This fixes page loading with dynamic OOPIFs - test is added. Fix puppeteer#4442
* feat(chromium): roll Chromium to r665405 This roll includes: - https://crrev.com/665226 - DevTools: make interception respect cross-process frame boundaries This fixes page loading with dynamic OOPIFs - test is added. Fix #4442 * fix lint
can u explain this? |
It's been a while, so I don't remember exactly - but I believe there was some sort of issue with chrome 74 that was fixed with chrome 76 which prevented request interception from working properly. Since then, I haven't seen issues and am using request interception without issue - though we've long since passed those two chrome versions! |
Complete code to reproduce the problem:
If
setRequestInterception
is set totrue
, the page never fully loads event thou all requests seem to be handled. Some sub-pages of the included example website do load, like:http://123tvnow.com/watch/espn
If you enable dev tools you'll need to deactivate breakpoints and resume. It's just the way site owner coded it.
After 30 seconds a
TimeoutError
error will be caught. I would like to understand why this is happening? It is especially confusing because some sub-pages load without a problem so I didn't expect thexhr
streaming files be an issue or .ttf or something similar.The text was updated successfully, but these errors were encountered: