Psuedoselectors do not currently work. Use an * or whatever element tag.
await page.locator('*[aria-label="Photo/video"][role="button"]')