Answers for "puppeteer get attribute"

0

puppeteer get attribute

await page.evaluate('document.querySelector("span.styleNumber").getAttribute("data-Color")')

// see stackoverflow for a better explanation ^^
Posted by: Guest on September-12-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language