A stray dog has been praised by many netizens after a video showing him waiting for the green light before crossing the street became viral.

A man named Ge from the city of Lanzhou, Gansu province in China was waiting for a cab when he spotted the clever dog down the street on November 13.

The black and brown dog was spotted waiting patiently, sitting on the sidewalk as cars drove past. As soon as the light turned green, he crosses the road along with the other people.

“It was about 8.30pm or 9pm at that time and I was waiting at the same spot for a taxi,” said Ge. “Then I realised the dog sitting by the roadside, I was thinking ‘maybe the dog is waiting to cross the road’ and I filmed it.”

According to the report of Daily Star, Ge was also impressed by the dog’s patience as he said the red light was on for about 40 seconds.

“The stray dog just sat there for 40 seconds before it followed the green light and crossed the road,” Ge added.

Viewers praised the dog for being much more “civilised” than many other road users.