//Apply CSS filter to change colour of element await page.locator('td:first-of-type img').evaluate(elm => elm.style.filter = 'hue-rotate(-50deg)');