page.$$eval() not working as expected (Puppeteer)

In a page, there are bunch of elements which a specific class.

The below code doesn’t print the no. of elements:

await page.$$eval(scoreSelector, (ele) => {
    console.log(ele.length);

Whereas, this works as expected:

curLiveScoreElements = await page.$$(scoreSelector)

Please clarify.

57 thoughts on “page.$$eval() not working as expected (Puppeteer)”

  1. pharmacie herboristerie beauvais traitement eczema , pharmacie de garde zillisheim pharmacie bordeaux quai de bacalan , Comprar Symmetrel sin receta, DГіnde comprar Symmetrel 100 mg. Symmetrel en farmacia Chile Comprar Symmetrel genГ©rico [url=https://kit.co/pubfehy/comprar-symmetrel-sin-receta-symmetrel-venta-online#]Symmetrel en farmacia Chile[/url] pharmacie vallee bailly braine Barato Abilify en Ecuador, DГіnde comprar Abilify 20 mg. Abilify en farmacia Ecuador Comprar Abilify genГ©rico [url=https://kit.co/drabbizlong/barato-abilify-en-ecuador-comprar-abilify-medicamento#]Comprar Abilify sin receta[/url] , pharmacie amiens ouverture 8h pharmacie ouverte quimper , therapie cognitivo comportementale yvelines. pharmacie auchan amiens pharmacie leclerc thiers Barato Avana en Guatemala, DГіnde comprar Avana 200 mg. Avana en farmacia Guatemala Comprar Avana genГ©rico [url=https://kit.co/gacousre/barato-avana-en-guatemala-comprar-avana-generico#]Comprar Avana sin receta[/url] , pharmacie en ligne quissac. medicaments ketoprofene, therapie act paris medicaments usages . pharmacie de garde aujourd’hui oise, pharmacie de garde xl pharmacie auchan woippy horaire medicaments coronavirus .

    Reply

Leave a Comment