@Kai Sor Welcome to Microsoft Q&A Forum, Thank you for posting your query here!
I understand that you are trying to run Selenium tests in an Azure Function App (Windows) and is encountering an error that suggests that Google Chrome is not installed in the temporary drives. You are looking for a way to install Chrome in the Azure Function App environment to run Selenium tests.
On Azure function App windows this scenario may not be supported. see here. However, it should work fine on linux (with custom image) as explained in below articles.
This article talks about Deploy Azure function with Selenium as Azure Function and How to create a Selenium web scraper in Azure Functions.
You can also follow this article which helps in installing chromium, chrome driver and selenium on top of the Azure Function base and creating Function using docker image.
Also refer this article which talks about Executing WebDriver Tests in Chrome via Azure Functions Hosted on Linux Docker Container.
Hope this helps. If you have any follow-up questions, please let me know. I would be happy to help.
**
Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.