I tried to find all the elements that has the text "Operation" inside them. I only see one such element visible, but Playwright is giving me 19:
self.page.locator('*', has_text='Operation').click()
When I run this selector in the developer tools:
$x('//*[contains( text(),"Operation" )]')
I see only a single element.
What am I doing wrong here?