Even though golden retrievers are extremely smart and inquisitive dogs, quite obviously, the road trip is just a staged joke, and the pooches are just posing on camera.
Careful driving is a skill that requires lots of practice and determination, so unfortunately, dogs are reliant on their owners for this, though they can at least have some fun by sticking their heads out of the windows.