
When the RID that starts with "linux" is specified, Linux 圆4 version of chromedriver will be copied to the output folder.When the RID that starts with "osx" and ends with "arm64" is specified, macOS Arm64 version of chromedriver will be copied to the output folder.When the RID that starts with "osx" and ends with "圆4" is specified, macOS 圆4 version of chromedriver will be copied to the output folder.When the RID that starts with "win" is specified, win32 version of chromedriver will be copied to the output folder.Or, as a command-line -r option for dotnet build command.
You can specify RID as a MSBuild property in a project file, (it doesn't depends on the which OS to use for build process.) When you specify the "Runtime Identifier ( RID)" explicitly, the platform type of the driver file is the same to the RID which you specified. When you build it on any Linux distributions, Linux 圆4 version of chromedriver will be copied to the output folder.When you build it on macOS on Apple CPU hardware, macOS Arm64 version of chromedriver will be copied to the output folder.When you build it on macOS on Intel CPU hardware, macOS 圆4 version of chromedriver will be copied to the output folder.
When you build the project which references the NuGet package of chromedriver on Windows OS, win32 version of chromedriver will be copied to the output folder. Cross-platform building and publishing By default - it depends on the OS running the build processīy default, the platform type of the web driver file copied to the output folder depends on the OS running the build process. To learn what version of ChromeDriver you need to use, please see also the following page: If you are using Chrome version 109: PM> Install-Package -Version 1.7400 If you are using Chrome version 110: PM> Install-Package -Version 1.7700 If you are using Chrome version 111: PM> Install-Package -Version 1.6400 How to install?įor example, at the package manager console on Visual Studio, enter the following command. NuGet package restoring ready, and no need to commit "chromedriver(.exe)" binary into source code control repository. "chromedriver(.exe)" does not appear in Solution Explorer, but it is copied to the output folder from the package source folder when the build process. This NuGet package installs Chrome Driver (Win32, macOS, macOS arm64, and Linu圆4) for Selenium WebDriver into your Unit Test Project. NuGet package - Selenium WebDriver ChromeDriver