Fix implicitely wait call
Added wait in autocomplete_choices()