When working with AngularJS, I encounter the need to delete a link which triggers an alert box for confirmation.
While attempting e2e testing using protractor, how can I confirm actions within an alert box?
I attempted the following code snippet:
browser.switchTo().alert().accept()
Unfortunately, this method did not prove successful.
Does protractor offer any specific functionality for handling alert boxes?