puppeteer get value data attribute code example
Example: puppeteer click element with custom property
const element = await page.$('[data-testId="testid-button-refresh"]') // this is an ElementHandle
const element = await page.$('[data-testId="testid-button-refresh"]') // this is an ElementHandle