[2023-04-26T14:09:12.421] [ERROR] default - ProtocolError: Page.enable timed out. Increase the 'protocolTimeout' setting in launch/connect calls for a higher timeout if needed.
at new Callback (/Users/leveryd/Downloads/crawler/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.js:61:35)
at CallbackRegistry.create (/Users/leveryd/Downloads/crawler/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.js:106:26)
at Connection._rawSend (/Users/leveryd/Downloads/crawler/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.js:216:26)
at CDPSessionImpl.send (/Users/leveryd/Downloads/crawler/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.js:425:78)
at FrameManager.initialize (/Users/leveryd/Downloads/crawler/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FrameManager.js:136:24)
at CDPPage._CDPPage_initialize (/Users/leveryd/Downloads/crawler/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Page.js:838:70)
at Function._create (/Users/leveryd/Downloads/crawler/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Page.js:60:90)
at /Users/leveryd/Downloads/crawler/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Target.js:128:42
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
报错信息如下
另外出现报错信息后,程序hang住