please help on nodejs and puppeteer , i just need to creat a conditional that check whether an element exist or not . page.$eval(‘div.woocommerce-product-details__short-description > p’, productData => productData.textContent) , works only if the element exists , how do i put this to work inside a c

https://getdark.co.za/product/

#nodejs #puppeteer #creat #conditional #check #element #exist #pageevaldivwoocommerceproductdetailsshortdescription #productData #productDatatextContent #works #element #exists #put #work

What do you think?

12 Points
Upvote Downvote

Leave a Reply