Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

puppeteer inner text

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 #text
ADD COMMENT
Topic
Name
4+7 =