I got following questions. In my site, I created an address, but this new created address is not in the first location of address book after created.
Now I need to delete this address by codes after check if it is created successfully. So need to provide the xpath of delete button for new created address.
Now I’m able to find the address name by xpath: //li[contains(text(),\"Small Projects
But I want to get this kind of xpath for the name after find it:
because the delete buttons’ xpath is like following:
By get the names’ xpath, I will able to generate the xpath of delete button.
Any help. thanks.