Delete a record using the record name

Hello how can i delete a record using this record name? other than the xpath locator?

Hi @roger.said,

If this record element has an ID, you can locate it by ID.
Another option is to create a relative XPath. For example: //div[“record_name”]

1 Like

Can you share any tutorial? the problem is i am trying to delete an element that i just created, but if a new element is added or an element is removed, then the scenarios stops since the DIV changes.

@amit.yahav any help please