get element text puppeteer

94

puppeteer inner text -

await page.waitForSelector('your selector')
let element = await page.$('your selector')
let value = await page.evaluate(el => el.textContent, element)

Comments

Submit
0 Comments