Enum UnhandledPromptBehavior
Specifies the behavior of handling unexpected alerts in the IE driver.
public enum UnhandledPromptBehavior
Fields
Accept = 2
Accept unexpected alerts.
AcceptAndNotify = 4
Accepts unexpected alerts and notifies the user that the alert has been accepted by throwing an UnhandledAlertException
Default = 0
Indicates the behavior is not set.
Dismiss = 3
Dismiss unexpected alerts.
DismissAndNotify = 5
Dismisses unexpected alerts and notifies the user that the alert has been dismissed by throwing an UnhandledAlertException
Ignore = 1
Ignore unexpected alerts, such that the user must handle them.