They're both fine, I think. Also possible With whom did you see her getting out of the car? (formal) Who did you see her with getting out of the car?
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.