skip to Main Content

Javascript – I'm trying to get a string with puppeteer from a HTML list but there's one value I struggle to scrape. What am I doing wrong?

This is the HTML list I'm scraping: <button class="css-4od5c4 e1ttybed2"> <div class="css-1tkalz1 e3whs8q0"> <p class="css-iqfm9l enp2lf70">Sisjön</p> <p class="css-1cwtvfm enp2lf70">Askim</p> <div class="css-7omsg3 e3whs8q0"> <p class="css-1n26c6q enp2lf70">Välj butik</p> </div></div> <div class="css-177ui4i e3whs8q0"> <p class="css-iqfm9l enp2lf70">3 st</p></div> </button> <button class="css-4od5c4 e1ttybed2"> <div class="css-1tkalz1…

VIEW QUESTION

Javascript – Error read properties of undefined (reading 'CallCollection')

I have an error when starting my bot using puppeteer and whatsapp-web.js, when starting it gives the error: Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'CallCollection') at __puppeteer_evaluation_script__:9:66 at ExecutionContext._evaluateInternal (C:Users103182DocumentsBotCargas2node_modulespuppeteerlibcjspuppeteercommonExecutionContext.js:221:19) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async ExecutionContext.evaluate…

VIEW QUESTION
Back To Top
Search