I am trying to automate the web table on the demoqa site https://demoqa.com/webtables where I am aiming to click the edit and delete button for a specific user. Please find the attached screenshot for reference.
I am trying to click the edit and delete button for the user 'Cierra' hence I have created the customize XPath '//div[contains(text(),'[email protected]')]//following::div[text()='Insurance']//following::div//div//span[@title='Edit']'
Trying to click the edit and delete button using the contains text with email '[email protected]' however I see four results even I use the unique username. Could anyone help me with this?