You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which package is this bug report for? If unsure which one to select, leave blank
@crawlee/utils
Issue description
when use puppeteerUtils.gotoExtended, type of waitUntil funtion is define to 'domcontentloaded' | 'load' | 'networkidle';
but if i use 'networkidle', i got the error Unknown value for options.waitUntil: networkidle
export type PuppeteerLifeCycleEvent =
/**
* Waits for the 'load' event.
*/
| 'load'
/**
* Waits for the 'DOMContentLoaded' event.
*/
| 'domcontentloaded'
/**
* Waits till there are no more than 0 network connections for at least `500`
* ms.
*/
| 'networkidle0'
/**
* Waits till there are no more than 2 network connections for at least `500`
* ms.
*/
| 'networkidle2';
and networkidle0 seems working. Is this type from a feature I don't know or is it not updated?
I'm happy if you check it out
Code sample
// profit type but got error from puppeteer awaitpuppeteerUtils.gotoExtended(page,request,{waitUntil: 'networkidle'})// got type error but worksawaitpuppeteerUtils.gotoExtended(page,request,{waitUntil: 'networkidle0'})
Package version
3.8.2
Node.js version
20.11.0
Operating system
Windows 11
Apify platform
Tick me if you encountered this issue on the Apify platform
I have tested this on the next release
No response
Other context
No response
The text was updated successfully, but these errors were encountered:
Which package is this bug report for? If unsure which one to select, leave blank
@crawlee/utils
Issue description
when use
puppeteerUtils.gotoExtended
, type ofwaitUntil
funtion is define to'domcontentloaded' | 'load' | 'networkidle';
but if i use 'networkidle', i got the error
Unknown value for options.waitUntil: networkidle
i found
PuppeteerLifeCycleEvent type
(https://pptr.dev/api/puppeteer.puppeteerlifecycleevent)and
networkidle0
seems working. Is this type from a feature I don't know or is it not updated?I'm happy if you check it out
Code sample
Package version
3.8.2
Node.js version
20.11.0
Operating system
Windows 11
Apify platform
I have tested this on the
next
releaseNo response
Other context
No response
The text was updated successfully, but these errors were encountered: