I have the following code, where I store all src in an array, I would like to store only img with class name xyz
const imgs = await page.$$eval('img[src]', imgs => imgs.map(img => img.getAttribute('src')));
I tried to user filter, but I couldn't reach the right syntax to do that.