That's them tapping the brake pedal a couple of seconds before braking yes? if so, they are pressurizing the system for optimal braking efficiency.
You know if you pump the brakes without the engine on then eventually you cant push the pedal down any more? Same thing, only in this case they are doing it to get rid of the "dead spot" on the pedal, and for optimal braking.