to wave goodbye to sb as they are leaving
wave sb off
Definiciones del Oxford Advanced Learner's Dictionary, 9.ª edición