Random Riddle: Darkness

A black dog stands in the middle of an intersection in a town painted black. None of the street lights are working due to a power failure caused by a storm. A car with two broken headlights drives towards the dog but turns in time to avoid hitting him.

How could the driver have seen the dog in time?
 

Random Riddle: Darkness