【发布时间】:2019-02-09 07:48:18
【问题描述】:
我正在使用 node.js 和 puppeteer 来获取一些数据。我打开的一些文件非常大......然后我得到一个错误:
错误:
our error { TimeoutError: Navigation Timeout Exceeded: 30000ms exceeded
at Promise.then (/project/node_modules/puppeteer/lib/NavigatorWatcher.js:74:21)
at <anonymous> name: 'TimeoutError' }
如何忽略它或设置更高的超时时间?
这是我的脚本:
await page.goto('url'+tableCell04Val, {waitUntil: 'load'});
【问题讨论】:
标签: javascript node.js puppeteer