Can anyone help me to move to the delete button and click on that : [![enter image description here][1]][1][![enter image description here][2]][2]This is actually a salesforce lightening page and while deleting the object i am getting a modal dialog box where i am unable to move to click on that.
Alert class is not working to move onto the page.

please find the attached screenshot.[![enter image description here][3]][3]


  [1]: https://i.stack.imgur.com/631Dx.png
  [2]: https://i.stack.imgur.com/dOzvO.png
  [3]: https://i.stack.imgur.com/168aa.png