This would depend on how you are deploying your function app. If you are manually zipping the files in your pipeline or from a local build, you could simply copy the exe
to the folder before zipping.
If you are using func azure functionapp publish
locally, you could include the file by adding something like this in your csproj
file.
<Project Sdk="Microsoft.NET.Sdk">
...
<ItemGroup>
<None Update="host.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
...
<None Update="chromedriver.exe">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
</Project>