-
-
Notifications
You must be signed in to change notification settings - Fork 671
Description
Are you using the latest version of the library?
- I have checked and am using the latest version of the library.
Current Behavior
Getting groups list with a large amount (1000) throws expection in puppeteer.
Expected Behavior
List of groups
Steps To Reproduce
Running this...
client.getAllGroups().then((groups) => {
for (let i = 0; i < groups.length; i++) {
const group = groups[i];
groupsData.push({name: group.name, groupId: group.id});
}
});
Mode
My own code
create() code
create({
sessionId: DEFAULT_SESSION,
headless: false,
}).then((client) => {
app.locals.clients[DEFAULT_SESSION] = client;
prestart(client);
});DEBUG INFO
{
"WA_VERSION": "2.2130.9",
"WA_AUTOMATE_VERSION": "4.14.1",
"BROWSER_VERSION": "HeadlessChrome/88.0.4298.0",
"START_TS": 1628864269042
}Environment
- OS: Linux 5.11
- Node: 16.6.2
- npm:
- yarn: 1.22.5Screenshots
Puppeteer crashes
/home/atrombotto/filadd/capybara/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:217
throw new Error('Evaluation failed: ' + helper_js_1.helper.getExceptionMessage(exceptionDetails));
^
Error: Evaluation failed: p
at ExecutionContext._evaluateInternal (/home/atrombotto/filadd/capybara/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:217:19)
at runMicrotasks ()
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async ExecutionContext.evaluate (/home/atrombotto/filadd/capybara/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:106:16)
Anything else?
No response