Undercover police officers have been posing as window washers to catch distracted drivers in Melbourne.

The undercover plot, showing officers wearing high-viz vests and carrying squeegees, was shared to Facebook yesterday.

Victoria Police has admitted to carrying out the covert operation to catch distracted drivers. (Facebook)

Victoria Police confirmed the operation 9news.com.au, saying that officers in Forest Hill conducted the traffic operation yesterday to target distracted drivers.

"Part of the operation involved observations of drivers in stationary vehicles," police said.

The officers were placed at the intersection of Maroondah Highway and Springvale Road in Nunawading.

The covert operation has sparked a debate on social media, with some praising and some opposing the police tactic. (Facebook)

More than 35 infringement notices were issued to drivers using their mobile phones.

It is illegal in Victoria to wash windows on the street and anyone caught doing it could cop a fine of more than $140.

But police clarified they were not actually washing any windscreens.

The covert operation has sparked a debate on social media, with some praising and some opposing the police tactic.