em que linha do código da esse erro? já tentou debugar o código?
Em resposta a Alguém pode me ajudar com isso? (puppeteer)
1
1
Error: Protocol error (Network.getResponseBody): No resource with given identifier found
at C:\Users\Administrator\Documents\Test\node_modules\puppeteer\lib\Connection.js:173:63
at new Promise (<anonymous>)
at CDPSession.send (C:\Users\Administrator\Documents\Test\node_modules\puppeteer\lib\Connection.js:172:16)
at C:\Users\Administrator\Documents\Test\node_modules\puppeteer\lib\NetworkManager.js:554:53
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Response.text (C:\Users\Administrator\Documents\Test\node_modules\puppeteer\lib\NetworkManager.js:566:25)
at async Page.<anonymous> (C:\Users\Administrator\Documents\Test\index.js:68:15)
-- ASYNC --
at Response.<anonymous> (C:\Users\Administrator\Documents\Test\node_modules\puppeteer\lib\helper.js:105:23)
at Page.<anonymous> (C:\Users\Administrator\Documents\Test\index.js:68:25)
at Page.emit (node:events:527:28)
at NetworkManager.<anonymous> (C:\Users\Administrator\Documents\Test\node_modules\puppeteer\lib\Page.js:103:73)
at NetworkManager.emit (node:events:527:28)
at NetworkManager._onResponseReceived (C:\Users\Administrator\Documents\Test\node_modules\puppeteer\lib\NetworkManager.js:253:14)
at CDPSession.emit (node:events:527:28)
at CDPSession._onMessage (C:\Users\Administrator\Documents\Test\node_modules\puppeteer\lib\Connection.js:190:18)
at Connection._onMessage (C:\Users\Administrator\Documents\Test\node_modules\puppeteer\lib\Connection.js:105:25)
at WebSocket.<anonymous> (C:\Users\Administrator\Documents\Test\node_modules\puppeteer\lib\WebSocketTransport.js:42:32)