what should the code of the SelectorAll + xPath document look like?
Bellow my actually code, but not working:
const resultPagination = await page.evaluate(() =>
Array.from(
document.querySelectorAll(
`[//*[@id="__next"]/div[2]/main/div[1]/div[3]/div[1]/div[2]/div[1]/div/ul/li[1]/a]`
),
(element) => parseInt(element.textContent)
)
);