MDL-43713 behat: improve multi-select support