I am using the following version of the webdriver. . .
Selenium.WebDriver.MSEdgeDriver --version 89.0.774.54
My code was working well in macOS, but attempting the build the project in a Linux docker container fails for me. Upon further investigation, I saw that the nuget package does not have a folder for linux,
/root/.nuget/packages/selenium.webdriver.msedgedriver/89.0.774.54/driver:
total 20
drwxr-xr-x 5 root root 4096 Apr 7 10:16 .
drwxr-xr-x 5 root root 4096 Apr 7 10:16 ..
drwxr-xr-x 2 root root 4096 Apr 7 10:16 mac64
drwxr-xr-x 2 root root 4096 Apr 7 10:16 win32
drwxr-xr-x 2 root root 4096 Apr 7 10:16 win64
I do not see any Linux folder here. Also, the exact command that fails during a dotnet build is the following. . .
chmod: cannot access '/root/.nuget/packages/selenium.webdriver.msedgedriver/89.0.774.54/build/../driver//msedgedriver': No such file or directory
apparently, the project restores step in the build is unable to locate the right driver. that // at the end of the path feels like the build process does not even know how to identify the correct driver folder (macOS/win32/win64) since Linux is not there.
How does one fix this?