Hello tarun k,
As shared by Alex Burlachenko also, chrome driver doesn't get installed automatically as part of the image. I've tried to create a new ACI with same image and I as expected I didn't find it.
Sharing the sample commands, in case if you'd like to test it out yourself:
Command to create a sample ACI:
az container create \ --resource-group <your-RG> \ --name <instance-name> \ --image mcr.microsoft.com/windows/servercore:ltsc2019 \ --command-line "powershell -Command \"Start-Sleep 3600\"" \ --os-type Windows \ --cpu 1 \ --memory 1.5 \ --ip-address Public
Sample command to connect to the container to check (this will give you a powershell interface to find/check for the driver):
az container exec \ --resource-group <your-RG> \ --name <instance-name> \ --exec-command "powershell"
Sample commands to look for common locations in the powershell interface:
# Check if chromedriver.exe exists in common locations
Test-Path "C:\Windows\System32\chromedriver.exe"
Test-Path "C:\chromedriver.exe"
# Search for chromedriver in entire C drive (takes longer)
Get-ChildItem C:\ -Recurse -Filter "chromedriver.exe" -ErrorAction SilentlyContinue
# Check if Chrome is installed
Get-ChildItem C:\ -Recurse -Filter "chrome.exe" -ErrorAction SilentlyContinue
# List programs in Program Files
Get-ChildItem "C:\Program Files" -ErrorAction SilentlyContinue
Get-ChildItem "C:\Program Files (x86)" -ErrorAction SilentlyContinue
Do let us know if it helps to answer your query!!