Black dog is sleeping in the middle of a black road-Riddle

Riddle
Riya couldn't find her black dog even after hours of searching. She finally notices her black dog is sleeping in the middle of a black road that has no streetlights and there is no moon. She rushes to rescue him when she sees a car coming down the road with its lights off. But the driver steers around the dog. How did the driver know the dog was there?

    It was daytime.

Mindyourlogic Riddle:  Answer:
Black dog is sleeping in the middle of a black road-Riddle