Running javascript using StoreEval

It turns out that this is not a bug, but a feature, see explanation below:

That 3.1.3 shows you that confirmation box is a bug, and the last update kind of fixed that. The the reason why it doesn’t (should) show confirm or alert, is because we hack confirm / prompt / alert (window.confirm) during replay to support assertAlert / assertConfirmation / assertPrompt.

In the classic Firefox Selenium IDE you needed to add a chooseOkOnNextConfirmation command if you want the IDE to close a dialog automatically. In the Kantu implementation of the Selenium IDE this command is not needed, as Kantu closes (presses OK) on appearing dialogs automatically. So in other words, chooseOkOnNextConfirmation is built-in, and not needed as separate command. The reason for this behavior is that in 99% of all automation cases users just want to close dialog boxes and move on.