So I am on an edit page and when I click the cancel button to stay on the edit page the IE driver automatically accepts the leave page in alert pop up. I even added the IE capabilities saying:
options = new ie.Options();
options.setAlertBehavior(‘ignore’);
But it still auto-accepts the alert dialog. Is there a way I can stop this behavior?
Source: Read More