MDL-50163 behat: wait to ensure elements are placed properly by js.