Answers for "how to get text from div tag in puppeteer"

1

puppeteer get value of div

await page.waitForSelector('your selector')
let element = await page.$('your selector')
let value = await page.evaluate(el => el.textContent, element)
Posted by: Guest on October-07-2020

Code answers related to "how to get text from div tag in puppeteer"

Code answers related to "Javascript"

Browse Popular Code Answers by Language