at ontimeout (timers.js:498:11)
************************promise rejection.In the future, promise rejections that are not handled will terminate the Node.js process with a non-zeroat ontimeout (timers.js</em
有时,代码会在超过错误超时时停止。有没有一种方法,如果页面加载超时,我可以运行一个函数,重新加载页面,或者让脚本等待几秒钟,然后重新加载页面,直到它正确地获得数据,而不会崩溃?\node_modules\puppeteer\lib\Page.js:656:49) at process.promise rejection.In the future, promise