A driver had to stop for a pedestrian who crossed the road even though the traffic light was not in her favour.