Selenium.WebDriver.ChromeDriver 126.0.6478.12600

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Selenium.WebDriver.ChromeDriver --version 126.0.6478.12600
NuGet\Install-Package Selenium.WebDriver.ChromeDriver -Version 126.0.6478.12600
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Selenium.WebDriver.ChromeDriver" Version="126.0.6478.12600" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Selenium.WebDriver.ChromeDriver --version 126.0.6478.12600
#r "nuget: Selenium.WebDriver.ChromeDriver, 126.0.6478.12600"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Selenium.WebDriver.ChromeDriver as a Cake Addin
#addin nuget:?package=Selenium.WebDriver.ChromeDriver&version=126.0.6478.12600

// Install Selenium.WebDriver.ChromeDriver as a Cake Tool
#tool nuget:?package=Selenium.WebDriver.ChromeDriver&version=126.0.6478.12600

NuGet package - Selenium WebDriver ChromeDriver

NuGet Package NuGet Package NuGet Package

What's this?

This NuGet package installs Chrome Driver (Win32, macOS, macOS arm64, and Linux64) for Selenium WebDriver into your Unit Test Project.

"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.

NuGet package restoring ready, and no need to commit "chromedriver(.exe)" binary into source code control repository.

Warning
Since Selenium WebDriver version 4.6 was released in November 2022 or later, it has contained "Selenium Manager", which will automatically download the most suitable version and platform WebDriver executable file. So now, you can run applications that use Selenium and manipulates web browsers without this package. However, due to compatibility and some offline scenarios, we intend to keep this package for the time being.

How to install?

For example, at the package manager console on Visual Studio, enter the following command.

If you are using Chrome version 126:

PM> Install-Package Selenium.WebDriver.ChromeDriver -Version 126.0.6478.12600

If you are using Chrome version 125:

PM> Install-Package Selenium.WebDriver.ChromeDriver -Version 125.0.6422.14100

If you are using Chrome version 124:

PM> Install-Package Selenium.WebDriver.ChromeDriver -Version 124.0.6367.20700

To learn what version of ChromeDriver you need to use, please see also the following page:

https://chromedriver.chromium.org/downloads/version-selection

Cross-platform building and publishing

By default - it depends on the OS running the build process

By default, the platform type of the web driver file copied to the output folder depends on the OS running the build process.

  • 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.
  • When you build it on macOS on Intel CPU hardware, macOS x64 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 any Linux distributions, Linux x64 version of chromedriver will be copied to the output folder.

Method 1 - Specify "Runtime Identifier"

When you specify the "Runtime Identifier (RID)" explicitly, the platform type of the driver file is the same to the RID which you specified. (it doesn't depends on the which OS to use for build process.)

You can specify RID as a MSBuild property in a project file,

<PropertyGroup>
  <RuntimeIdentifier>win-x64</RuntimeIdentifier>
</PropertyGroup>

or, as a command-line -r option for dotnet build command.

> dotnet build -r:osx-x64
  • When the RID that starts with "win" is specified, win32 version of chromedriver will be copied to the output folder.
  • When the RID that starts with "osx" and ends with "x64" is specified, macOS x64 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 "linux" is specified, Linux x64 version of chromedriver will be copied to the output folder.

If you specify another pattern of RID like "linux-x64", the platform type of the web driver file which will be copied to the output folder depends on the OS running the build process. (default behavior.)

Method 2 - Specify "WebDriverPlatform" msbuild property

You can control which platform version of chromedriver will be copied by specifying "WebDriverPlatform" MSBuild property.

"WebDriverPlatform" MSBuild property can take one of the following values:

  • "win32"
  • "mac64"
  • "mac64arm"
  • "linux64"

You can specify "WebDriverPlatform" MSBuild property in a project file,

<PropertyGroup>
  <WebDriverPlatform>win32</WebDriverPlatform>
</PropertyGroup>

or, command-line -p option for dotnet build command.

> dotnet build -p:WebDriverPlatform=mac64

The specifying "WebDriverPlatform" MSBuild property is the highest priority method to control which platform version of the chromedriver will be copied.

If you run the following command on Windows OS,

> dotnet build -r:linux-x64 -p:WebDriverPlatform=mac64

The driver file of macOS x64 version will be copied to the output folder.

How to include the driver file into published files?

"chromedriver(.exe)" isn't included in published files on default configuration. This behavior is by design.

If you want to include "chromedriver(.exe)" into published files, please define _PUBLISH_CHROMEDRIVER compilation symbol.

define _PUBLISH_CHROMEDRIVER compilation symbol

Another way, you can define PublishChromeDriver property with value is "true" in MSBuild file (.csproj, .vbproj, etc...) to publish the driver file instead of define compilation symbol.

  <Project ...>
    ...
    <PropertyGroup>
      ...
      <PublishChromeDriver>true</PublishChromeDriver>
      ...
    </PropertyGroup>
...
</Project>

You can also define PublishChromeDriver property from the command line -p option for dotnet publish command.

> dotnet publish -p:PublishChromeDriver=true
Note

PublishChromeDriver MSBuild property always override the condition of define _PUBLISH_CHROMEDRIVER compilation symbol or not. If you define PublishChromeDriver MSBuild property with false, then the driver file isn't included in publish files whenever define _PUBLISH_CHROMEDRIVER compilation symbol or not.

Appendix

The numbering of the package version

The rule of the version number of this package is:

chromedriver version MAJOR.MINOR.BUILD.PATCH + package version (2 digit)

For example, 2nd package release for the chromedriver ver.1.2.3.4, the package version is 1.2.3.4 + 021.2.3.402.

Sometime multiple packages for the same chromedriver version may be released by following example reasons.

  • Packaging miss. (the package included invalid version of the driver files)
  • Fixing bug of the build script, or improving the build script.

Where is chromedriver.exe saved to?

chromedriver(.exe) exists at
" {solution folder} /packages/Selenium.WebDriver.ChromeDriver. {ver} /driver/ {platform}"
folder.

 {Solution folder}/
  +-- packages/
  |   +-- Selenium.WebDriver.ChromeDriver.{version}/
  |       +-- driver/
  |       |   +-- win32
  |       |       +-- chromedriver.exe
  |       |   +-- mac64
  |       |       +-- chromedriver
  |       |   +-- mac64arm
  |       |       +-- chromedriver
  |       |   +-- linux64
  |       |       +-- chromedriver
  |       +-- build/
  +-- {project folder}/
      +-- bin/
          +-- Debug/
          |   +-- chromedriver(.exe) (copy from above by build process)
          +-- Release/
              +-- chromedriver(.exe) (copy from above by build process)

And package installer configure MSBuild task such as .csproj to copy chromedriver(.exe) into the output folder during the build process.

License

The build script (.targets file) in this NuGet package is licensed under The Unlicense.

The binary files of ChromeDriver are licensed under the BSD-3-Clause.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (127)

Showing the top 5 NuGet packages that depend on Selenium.WebDriver.ChromeDriver:

Package Downloads
Miru.PageTesting.Chrome

Package Description

SpecsFor.Mvc

SpecsFor.Mvc is a stand-alone acceptance testing framework for ASP.NET MVC. It enables you to write strongly-typed, refactor friendly integration tests using the browser and testing framework of your choice.

Objectivity.Test.Automation.Common.NUnit

[DEPRECATED] Use Install-Package Ocaramba.Features Install-Package Ocaramba.MsTest Install-Package Ocaramba.NUnit Install-Package Ocaramba.xUnit instead

Selenium.Helper

This package contains .NET helper classes to make the creation of Selenium tests easier. It contains a Connector class that supports various initializations of the Driver. It also contains a utility class to assist in working with elements.

Ocaramba

Framework to automate tests using Selenium WebDriver

GitHub repositories (19)

Showing the top 5 popular GitHub repositories that depend on Selenium.WebDriver.ChromeDriver:

Repository Stars
Sonarr/Sonarr
Smart PVR for newsgroup and bittorrent users.
Radarr/Radarr
Movie organizer/manager for usenet and torrent users.
btcpayserver/btcpayserver
Accept Bitcoin payments. Free, open-source & self-hosted, Bitcoin payment processor.
mono/SkiaSharp
SkiaSharp is a cross-platform 2D graphics API for .NET platforms based on Google's Skia Graphics Library. It provides a comprehensive 2D API that can be used across mobile, server and desktop models to render images.
Prowlarr/Prowlarr
Version Downloads Last updated
127.0.6533.1700-beta 489 6/20/2024
127.0.6533.400-beta 763 6/13/2024
126.0.6478.12600 2,127 6/24/2024
126.0.6478.6300 10,370 6/20/2024
126.0.6478.6200 11,840 6/18/2024
126.0.6478.6100 20,249 6/13/2024
126.0.6478.5500 20,701 6/11/2024
126.0.6478.3600-beta 579 6/5/2024
126.0.6478.2600-beta 844 5/29/2024
126.0.6478.1700-beta 1,402 5/23/2024
126.0.6478.700-beta 1,041 5/16/2024
125.0.6422.14100 64,099 5/31/2024
125.0.6422.7800 54,029 5/24/2024
125.0.6422.7600 45,130 5/21/2024
125.0.6422.6000 100,141 5/15/2024
125.0.6422.4100-beta 1,008 5/8/2024
125.0.6422.2600-beta 587 5/2/2024
125.0.6422.1400-beta 924 4/24/2024
125.0.6422.400-beta 419 4/24/2024
124.0.6367.20700 77,090 5/13/2024
124.0.6367.20100 25,005 5/10/2024
124.0.6367.15500 17,819 5/8/2024
124.0.6367.9100 115,838 4/25/2024
124.0.6367.7800 96,997 4/24/2024
124.0.6367.6000 131,108 4/16/2024
124.0.6367.4900-beta 1,040 4/13/2024
124.0.6367.2900-beta 1,801 4/3/2024
124.0.6367.800-beta 3,694 3/21/2024
123.0.6312.12200 101,718 4/10/2024
123.0.6312.8600 271,875 3/26/2024
123.0.6312.5800 222,199 3/20/2024
123.0.6312.4600-beta 4,576 3/14/2024
123.0.6312.2800-beta 3,475 3/6/2024
123.0.6312.2200-beta 3,130 2/29/2024
123.0.6312.400-beta 5,533 2/21/2024
122.0.6261.11100 128,762 3/7/2024
122.0.6261.9400 157,049 2/27/2024
122.0.6261.6901 109,622 2/24/2024
122.0.6261.6900 20,458 2/23/2024
122.0.6261.5700 187,289 2/21/2024
122.0.6261.3900-beta 3,734 2/14/2024
122.0.6261.2900-beta 5,622 2/7/2024
122.0.6261.1800-beta 3,716 1/31/2024
122.0.6261.600-beta 4,422 1/25/2024
121.0.6167.18400 68,760 2/17/2024
121.0.6167.8500 505,299 1/23/2024
121.0.6167.8500-beta 32,152 1/22/2024
121.0.6167.5700-beta 6,736 1/10/2024
121.0.6167.4700-beta 5,354 1/5/2024
121.0.6167.1600-beta 7,875 12/13/2023
121.0.6167.800-beta 8,051 12/8/2023
120.0.6099.10900 421,097 12/18/2023
120.0.6099.7100 245,833 12/6/2023
120.0.6099.6200-beta 6,458 12/4/2023
120.0.6099.5600-beta 6,339 11/30/2023
120.0.6099.3500-beta 6,579 11/22/2023
120.0.6099.2800-beta 6,571 11/16/2023
120.0.6099.1800-beta 6,247 11/9/2023
120.0.6099.500-beta 7,933 11/1/2023
119.0.6045.10500 1,275,124 10/31/2023
119.0.6045.5900-beta 13,592 10/26/2023
119.0.6045.2100-beta 31,379 10/12/2023
119.0.6045.900-beta 7,865 10/10/2023
118.0.5993.7000 419,526 10/11/2023
118.0.5993.5400-beta 7,754 10/8/2023
118.0.5993.3200-beta 8,818 9/29/2023
118.0.5993.1800-beta 8,268 9/20/2023
117.0.5938.14900 126,951 10/4/2023
117.0.5938.9200 184,296 9/21/2023
117.0.5938.8800 110,471 9/16/2023
117.0.5938.6200 164,290 9/12/2023
117.0.5938.4800-beta 7,902 9/6/2023
117.0.5938.3500-beta 8,285 8/30/2023
117.0.5938.2200-beta 18,561 8/23/2023
117.0.5938.1100-beta 10,520 8/16/2023
116.0.5845.9600 870,347 8/15/2023
116.0.5845.9600-beta 8,564 8/14/2023
116.0.5845.8200-beta 11,566 8/9/2023
116.0.5845.6200-beta 9,207 8/3/2023
116.0.5845.4900-beta 9,040 7/26/2023
116.0.5845.4200-beta 12,741 7/20/2023
115.0.5790.17000 224,776 8/2/2023
115.0.5790.10200 263,147 7/21/2023
115.0.5790.9800 127,613 7/18/2023
114.0.5735.9000 1,078,797 5/31/2023
114.0.5735.1600 155,282 5/30/2023
114.0.5735.1600-beta 9,932 5/4/2023
113.0.5672.6300 723,488 5/3/2023
113.0.5672.2400 47,251 5/3/2023
113.0.5672.2400-beta 12,891 4/10/2023
112.0.5615.4900 546,516 4/5/2023
112.0.5615.2800-beta 16,085 3/16/2023
111.0.5563.6400 618,641 3/8/2023
111.0.5563.4100 60,281 3/8/2023
111.0.5563.4100-beta 9,397 2/27/2023
111.0.5563.1900-beta 9,776 2/10/2023
110.0.5481.7700 604,812 2/8/2023
110.0.5481.3000 46,657 2/7/2023
110.0.5481.3000-beta 9,964 1/14/2023
109.0.5414.7400 786,817 1/11/2023
109.0.5414.2500-beta 13,928 12/2/2022
108.0.5359.7100 753,458 11/30/2022
108.0.5359.2200 69,980 11/29/2022
108.0.5359.2200-beta 9,799 11/3/2022
107.0.5304.6200 980,072 10/25/2022
107.0.5304.1800-beta 8,878 10/2/2022
106.0.5249.6100 625,214 9/28/2022
106.0.5249.2100 41,523 9/27/2022
106.0.5249.2100-beta 10,714 9/2/2022
105.0.5195.5200 932,524 8/31/2022
105.0.5195.1900 86,272 8/31/2022
105.0.5195.1900-beta 10,450 8/8/2022
104.0.5112.7900 737,356 8/3/2022
104.0.5112.2900 75,600 8/3/2022
104.0.5112.2900-beta 14,021 7/7/2022
104.0.5112.2000-beta 30,098 6/24/2022
103.0.5060.13400 251,240 7/20/2022
103.0.5060.5300 628,612 6/22/2022
103.0.5060.2400-beta 10,249 5/30/2022
102.0.5005.6102 684,825 5/28/2022
102.0.5005.6101 15,305 5/28/2022
102.0.5005.6100 99,855 5/25/2022
102.0.5005.2700 53,260 5/24/2022
102.0.5005.2700-beta 10,836 5/2/2022
101.0.4951.4100 637,580 4/27/2022
101.0.4951.1500-beta 12,778 4/2/2022
100.0.4896.6000 1,010,851 3/30/2022
100.0.4896.2000 54,245 3/30/2022
100.0.4896.2000-beta 10,052 3/4/2022
99.0.4844.5100 694,273 3/4/2022
99.0.4844.5100-beta 118,615 3/2/2022
99.0.4844.3500-beta 10,313 2/17/2022
99.0.4844.1700-beta 8,657 2/5/2022
98.0.4758.10200 383,786 2/15/2022
98.0.4758.8000 327,715 2/4/2022
98.0.4758.4800 118,016 2/3/2022
98.0.4758.4800-beta 52,982 1/12/2022
97.0.4692.7100 699,156 1/6/2022
97.0.4692.3600-beta 14,550 12/3/2021
97.0.4692.2000-beta 13,556 11/19/2021
96.0.4664.4500 1,352,869 11/16/2021
96.0.4664.3500-beta 12,472 11/8/2021
96.0.4664.1800-beta.2 1,997 11/3/2021
96.0.4664.1800-beta 9,350 10/25/2021
95.0.4638.6900 206,403 11/8/2021
95.0.4638.5401 151,739 11/3/2021
95.0.4638.5400 123,745 10/28/2021
95.0.4638.1700 221,470 10/20/2021
95.0.4638.1700-beta 23,077 9/28/2021
95.0.4638.1000-beta 8,276 9/21/2021
94.0.4606.11300 36,958 11/8/2021
94.0.4606.6100 681,416 9/28/2021
94.0.4606.4101 178,596 9/22/2021
94.0.4606.4101-beta 9,265 9/10/2021
93.0.4577.6300 198,335 9/14/2021
93.0.4577.1500 386,597 9/1/2021
93.0.4577.1500-beta 16,316 7/29/2021
92.0.4515.10700 724,823 7/29/2021
92.0.4515.4300 233,726 7/21/2021
92.0.4515.4300-beta 14,478 6/12/2021
91.0.4472.10100 765,492 6/12/2021
91.0.4472.1900 564,664 5/26/2021
91.0.4472.1900-beta 11,824 4/23/2021
90.0.4430.2400 1,103,041 4/14/2021
90.0.4430.2400-beta 14,706 3/16/2021
89.0.4389.2300 1,061,517 3/4/2021
89.0.4389.2300-beta 16,690 1/29/2021
88.0.4324.9600 1,055,477 1/21/2021
88.0.4324.2700 74,055 1/19/2021
88.0.4324.2700-beta 10,949 12/4/2020
87.0.4280.8800 1,263,554 12/2/2020
87.0.4280.2000 581,418 11/18/2020
87.0.4280.2000-beta 34,357 10/17/2020
86.0.4240.2200 786,136 10/9/2020
86.0.4240.2200-beta 23,264 9/4/2020
85.0.4183.8700 1,105,904 8/28/2020
85.0.4183.8300 196,394 8/26/2020
85.0.4183.3800-beta 17,956 7/24/2020
84.0.4147.3001 508,390 7/15/2020
84.0.4147.3001-beta 8,116 7/12/2020
84.0.4147.3000-beta 18,056 5/29/2020
83.0.4103.3915 59,984 7/15/2020
83.0.4103.3915-beta 13,296 7/11/2020
83.0.4103.3910 225,665 6/28/2020
83.0.4103.3910-beta 19,878 5/24/2020
83.0.4103.3900 1,070,809 5/20/2020
83.0.4103.3900-beta 23,867 5/6/2020
83.0.4103.1400-beta 12,931 4/17/2020
81.0.4044.13800 171,811 5/6/2020
81.0.4044.6900 365,812 4/9/2020
81.0.4044.6900-beta 9,088 3/18/2020
81.0.4044.2000-beta 11,970 2/14/2020
80.0.3987.10600 1,069,650 2/14/2020
80.0.3987.1600 273,356 2/5/2020
80.0.3987.1600-beta 10,408 12/20/2019
79.0.3945.3600 921,610 12/12/2019
79.0.3945.3600-beta 25,377 11/19/2019
79.0.3945.1600-beta 9,317 10/31/2019
78.0.3904.10500 382,166 11/19/2019
78.0.3904.7000 521,236 10/23/2019
78.0.3904.1100-beta 11,668 9/13/2019
77.0.3865.4000 613,743 9/13/2019
77.0.3865.4000-beta 10,058 8/21/2019
77.0.3865.10-beta 15,072 8/7/2019
76.0.3809.12600 296,154 8/22/2019
76.0.3809.6801 111,036 8/12/2019
76.0.3809.68 186,701 8/5/2019
76.0.3809.68-beta 12,425 7/17/2019
76.0.3809.25-beta 11,280 6/14/2019
76.0.3809.12-beta 8,047 6/8/2019
75.0.3770.140 343,276 7/14/2019
75.0.3770.90 234,440 6/14/2019
75.0.3770.8 74,247 6/8/2019
74.0.3729.6 514,122 4/25/2019
73.0.3683.68 331,224 3/13/2019
72.0.3626.69 552,052 3/5/2019
71.0.3578.137 56,389 3/5/2019
2.46.0 378,312 2/2/2019
2.45.0 477,218 12/11/2018
2.44.0 475,208 11/21/2018
2.43.0 929,946 10/18/2018
2.42.0.1 417,871 9/14/2018
2.41.0 610,616 7/28/2018
2.40.0 843,612 6/8/2018
2.39.0 112,186 5/30/2018
2.38.0.1 511,136 4/26/2018
2.38.0 685,509 4/18/2018
2.37.0 649,833 3/17/2018
2.36.0 270,433 3/2/2018
2.35.0 484,768 1/11/2018
2.34.0 145,476 12/10/2017
2.33.0 520,269 10/4/2017
2.32.0 182,144 8/31/2017
2.31.0 152,196 7/23/2017
2.30.0.1 484,031 6/8/2017
2.29.0 365,364 4/4/2017
2.28.0.2-beta 9,599 3/21/2017
2.28.0.1-beta 10,499 3/9/2017
2.28.0 136,469 3/9/2017
2.27.0.7-beta 9,766 3/3/2017
2.27.0.6-beta 8,272 3/2/2017
2.27.0.2-beta 8,518 2/28/2017
2.27.0 286,689 12/22/2016
2.26.0 66,826 12/6/2016
2.25.0.8 142,150 11/15/2016
2.25.0.8-beta 13,020 10/29/2016
2.25.0 110,465 10/24/2016
2.24.0 156,221 9/16/2016
2.23.0.1 117,715 8/10/2016
2.23.0 11,536 8/9/2016
2.22.0 123,102 6/8/2016
2.21.0.1-beta 9,854 5/5/2016
2.21.0 234,633 1/26/2016
2.20.0 179,189 10/9/2015
2.19.0 54,342 9/6/2015
2.18.0 19,474 8/22/2015
2.17.0 16,106 8/12/2015
2.16.0 29,332 6/27/2015
2.15.0 49,752 4/1/2015
2.14.0.1-beta 9,258 3/6/2015
2.14.0 29,733 3/3/2015
2.13.0 26,834 1/6/2015
2.12.0 28,074 10/30/2014
2.10.0.1-beta2 9,662 8/14/2014
2.10.0.1-beta 9,095 8/14/2014
2.10.0 40,442 5/8/2014
2.9.0.1 14,451 4/7/2014
2.9.0.1-beta3 9,426 4/5/2014
2.9.0.1-beta2 9,378 4/3/2014
2.9.0 18,216 3/27/2014
2.8.0 23,493 1/24/2014
2.3.0 17,735 9/7/2013
2.2.0 23,324 8/28/2013

126.0.6478.12600
- Chrome Driver 126.0.6478.126 release

To see all the change logs, please visit the following URL.
- https://github.com/jsakamoto/nupkg-selenium-webdriver-chromedriver/blob/master/RELEASE-NOTES.txt