Example use case: If you have chromium installed on docker, but you do not have chrome installed at location where playwright is going to look for chrome.

Instead of installing chrome into your Dockerfile you can create a at the location where playwright expects to find chrome to point to chromium by running the following commands.

sudo mkdir -p /opt/google/chrome
sudo ln -s /usr/bin/chromium /opt/google/chrome/chrome