[java] do not set unexpected alert value in Options by default
@@ -49,7 +49,6 @@ public DO setUnhandledPromptBehaviour(UnexpectedAlertBehaviour behaviour) {
setCapability(
UNHANDLED_PROMPT_BEHAVIOUR,
Require.nonNull("Unhandled prompt behavior", behaviour));
- setCapability(UNEXPECTED_ALERT_BEHAVIOUR, behaviour);
return (DO) this;
}
