Some browsers do not bubble form submission events to the window, and we had more than one form on the page in certain conditions. We need to select all of the forms on a page and then test the action.
Also including a modification in behat_question_base to make the internal method work with both JS and non-JS.
They had duplicated code. I refactored.