Utils.triggerJQ("mousedown", getCancelButton());
waitAfterConfirmOrCancel();
}
private void checkControllsAreAvailable() {
boolean condition = new WebElementConditionFactory(getConfirmButton()).isPresent().apply(getBrowser());
if (!condition) {
throw new IllegalStateException(
"You are trying to use cotrolls to confirm/cancel the input, however, there are no controlls!");
}
}