Cannot find chrome binary error thrown in Azure Devops

The tests are running fine in the local, but when running in a pipeline in Azure Devops, I am getting the error ‘org.openqa.selenium.WebDriverException: unknown error: cannot find Chrome binary’.

Does anyone know about this error and how to solve this…?