Same goes for `wait_for_js_variable_defined` above.