The Black Cat and the Broken Headlights

The Black Cat and the Broken Headlights

A black cat crossed under a broken streetlight. A car with broken headlights approached, yet the driver avoided it. How?