How to get the image source?
How to get the image source of this element?
page.locator('img');
This is not working:
const image = await page.locator('img').src;
page.locator('img');
This is not working:
const image = await page.locator('img').src;
src attribute? This var would be undefined.'[src]'img[src]<img>image