Closed ivanqa2022 closed 1 year ago
I put together a screenshot comparison command for elements, not for the whole page. Will this work correctly?
await expect(page.locator('.footer-position__logo-container')).toHaveScreenshot(`${g.name} webCheckFuter.png`);
I checked this method works great.
I put together a screenshot comparison command for elements, not for the whole page. Will this work correctly?