How do you wash your 1 year old’s hair?!

I’m posting anonymous because I feel so stupid I can’t do such a simple task. I’ve always gotten in the tub with my son to bathe him because it was just easier for me. I would normally cradle him and wash his hair while he nursed. But lately he’s been refusing, and would much rather play with his toys and try to climb out of the tub. Which I guess is to be expected. But how in the world do you wash your kids hair?! I debated whether or not to get that little cap thing that keeps water out of their face but he HATES hats. So that would absolutely not work. Any tips/tricks are more than welcomed!!