Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #puppeteer #div
ADD COMMENT
Topic
Name
3+7 =