Deprecation in Puppeteer
Hello,
Puppeteer deprecated the page.waitForTimeout function.
This resulted in making the infiniteScroll function from utils to be broken.
Is there any fix in progress ?
12 Replies
Hey.
Didn't hear any complaints about it recently.
Can You please provide some repro / link to your run with mentioned issues.
Will check / pass it to our team.
I’m running locally .
If you import utils.
then await util.puppeteerUtils.infiniteScroll .
It will throw error that await page.waitForTimeout doesn’t exist
at least copy-paste error trace then please
removed path and website.
the utility_scripts, are just some database communications and some axios scripts, they don't interfere with puppeteer or crawlee.
the call from line 78:
are there any other details that you need ?
other-emerald•2y ago
This is already fixed in beta: https://github.com/apify/crawlee/commit/52d7219acdc19b34a727e5d26f7f9288d27ca57f (not yet released as latest)
@Andrey Bykov how can I somehow force npm to install this beta ?
other-emerald•2y ago
just
npm install crawlee@next
Thanks !
other-emerald•2y ago
just a heads-up, it was released as latest
The fix is now in latest ?
other-emerald•2y ago
yup
other-emerald•2y ago
GitHub
Release v3.8.0 · apify/crawlee
3.8.0 (2024-02-21)
Bug Fixes
createRequests works correctly with exclude (and nothing else) (#2321) (048db09)
declare missing dependencies on csv-stringify and fs-extra (#2326) (718959d), closes /...