Selenium.Chrome.WebDriver 2.46.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Selenium.Chrome.WebDriver --version 2.46.0                
NuGet\Install-Package Selenium.Chrome.WebDriver -Version 2.46.0                
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.Chrome.WebDriver" Version="2.46.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Selenium.Chrome.WebDriver --version 2.46.0                
#r "nuget: Selenium.Chrome.WebDriver, 2.46.0"                
#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.Chrome.WebDriver as a Cake Addin
#addin nuget:?package=Selenium.Chrome.WebDriver&version=2.46.0

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

NuGet packages for WebDriver - Chrome, Firefox, Internet Explorer, PhantomJS

This is a repurposed repo of nupkg-selenium-webdriver-chromedriver by jsakamoto that handles downloading Chrome, Firefox, Internet Explorer WebDrivers, and PhantomJS instead

Chrome: NuGet Package

Firefox: NuGet Package

InternetExplorer: NuGet Package

PhantomJS: NuGet Package

These NuGet packages will download Selenium WebDrivers (Chrome, Firefox, Internet Explorer, and PhantomJS) into your Unit Test Project. Each WebDriver binary file does not appear in Solution Explorer, but it is copied to bin folder from package folder when the build process. NuGet package restoring ready, and no need to commit any WebDriver binary files into source code control repository.

How to install?

For example, at the package manager console on Visual Studio, enter following command to install ChromeDriver

PM> Install-Package Selenium.Chrome.WebDriver

For Firefox WebDriver (Marionette)

PM> Install-Package Selenium.Firefox.WebDriver

For Internet Explorer Driver 32bit

PM> Install-Package Selenium.InternetExplorer.WebDriver

For PhantomJS (Windows)

PM> Install-Package Selenium.PhantomJS.WebDriver

Detail

Where is each WebDriver binary file saved to?

Each WebDriver will be downloaded to their respective nuget package location:

{solution folder}/packages/Selenium.{browser}.WebDriver. {ver} /driver

{Solution folder}/
|-- packages/
    |-- Selenium.Chrome.WebDriver.{version}/
        |-- driver/
            |-- chromedriver.exe
    |-- Selenium.Firefox.WebDriver.{version}/
        |-- driver/
            |-- geckodriver.exe
    |-- Selenium.InternetExplorer.WebDriver.{version}/
        |-- driver/
            |-- IEDriverServer.exe
    |-- Selenium.PhantomJS.WebDriver.{version}/
        |-- driver/
            |-- phantomjs.exe

{project folder}/
|-- bin/
    |-- {buildconfiguration}/ (each of these driver exe files are copied from above by build process)
        |-- chromedriver.exe
        |-- geckodriver.exe
        |-- IEDriverServer.exe
        |-- phantomjs.exe

And package installer configure msbuild task such as .csproj to copy each WebDriver binary file into output folder during build process.

How to build each nuget package?

You will need to execute the BuildPackage.bat file with the following input parameters:

  • Browser {Chrome, Firefox, IE, PhantomJS}
  • Version
  • (OPTIONAL) Binary File Bit Version 32 or 64 (defaults to 32bit)

Usage Examples

BuildPackage.bat {browser} {version} {OPTIONAL|bitversion}

For creating nuget package for ChromeDriver version 2.25:

> BuildPackage.bat Chrome 2.25

For creating nuget package for Firefox (Marionette) Driver version 0.11.1:

> BuildPackage.bat Firefox 0.11.1

For creating nuget package for Internet Explorer Driver version 2.48:

> BuildPackage.bat IE 2.48

For creating nuget package for Internet Explorer Driver version 3.8.0 64bit version:

> BuildPackage.bat IE 3.8.0 64

For creating nuget package for PhantomJS version 2.1.1:

> BuildPackage.bat Phantomjs 2.1.1
There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (42)

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

Package Downloads
JDI.UIWeb

Framework for Web UI Automation Testing

JDI.UICore

Framework for UI Automation Testing. Web, Mobile, Desktop

JDI.UICommons

Framework for UI Automation Testing. Web, Mobile, Desktop

IA.Framework.Selenium

Description

JDI.UIMatchers

Framework for UI Automation Testing. Web, Mobile, Desktop

GitHub repositories (4)

Showing the top 4 popular GitHub repositories that depend on Selenium.Chrome.WebDriver:

Repository Stars
Jackett/Jackett
API Support for your favorite torrent trackers
openbullet/openbullet
The OpenBullet web testing application.
AutomateThePlanet/AutomateThePlanet-Learning-Series
Automate The Planet Series Source Code
microsoft/fhir-server-samples
Samples for Microsoft FHIR Server for Azure
Version Downloads Last updated
85.0.0 1,727,694 9/8/2020
84.0.0 11,109 9/8/2020
83.0.0 700,920 5/21/2020
81.0.0 134,507 4/10/2020
80.0.0 23,454 4/10/2020
79.0.0 1,707,072 12/16/2019
78.0.0 16,139 12/16/2019
77.0.0 430,946 10/21/2019
76.0.0 477,368 7/31/2019
75.0.0 173,791 7/16/2019
74.0.0 628,339 4/24/2019
73.0.0 9,361 4/24/2019
2.46.0 41,355 4/24/2019
2.45.0 516,806 12/13/2018
2.44.0 14,742 12/13/2018
2.43.0 339,003 10/18/2018
2.42.0 171,249 10/1/2018
2.41.0 182,790 8/29/2018
2.40.0 399,437 6/18/2018
2.39.0 2,619 6/18/2018
2.38.0 277,695 4/24/2018
2.37.0 557,882 3/18/2018
2.36.0 28,587 3/18/2018
2.35.0 214,299 1/24/2018
2.34.0 2,612 1/24/2018
2.33.0 369,991 10/18/2017
2.32.0 79,390 9/25/2017
2.31.0 80,162 8/22/2017
2.30.0 120,288 6/18/2017
2.29.0 98,457 4/5/2017
2.28.0 6,075 3/14/2017
2.27.0 9,376 1/3/2017
2.26.0 3,795 1/3/2017
2.25.0.1 39,013 11/4/2016
2.25.0 3,097 11/1/2016

v2.46 - Chrome Driver 2.46 release - https://chromedriver.storage.googleapis.com/index.html?path=2.46/
   v2.45 - Chrome Driver 2.45 release - https://chromedriver.storage.googleapis.com/index.html?path=2.45/
   v2.44 - Chrome Driver 2.44 release - https://chromedriver.storage.googleapis.com/index.html?path=2.44/
   v2.43 - Chrome Driver 2.43 release - https://chromedriver.storage.googleapis.com/index.html?path=2.43/
   v2.42 - Chrome Driver 2.42 release - https://chromedriver.storage.googleapis.com/index.html?path=2.42/
   v2.41 - Chrome Driver 2.41 release - https://chromedriver.storage.googleapis.com/index.html?path=2.41/
   v2.40 - Chrome Driver 2.40 release - https://chromedriver.storage.googleapis.com/index.html?path=2.40/
   v2.39 - Chrome Driver 2.39 release - https://chromedriver.storage.googleapis.com/index.html?path=2.39/
   v2.38 - Chrome Driver 2.38 release - https://chromedriver.storage.googleapis.com/index.html?path=2.38/
   v2.37 - Chrome Driver 2.37 release - https://chromedriver.storage.googleapis.com/index.html?path=2.37/
   v2.36 - Chrome Driver 2.36 release - https://chromedriver.storage.googleapis.com/index.html?path=2.36/
   v2.35 - Chrome Driver 2.35 release - https://chromedriver.storage.googleapis.com/index.html?path=2.35/
   v2.34 - Chrome Driver 2.34 release - https://chromedriver.storage.googleapis.com/index.html?path=2.34/
   v2.33 - Chrome Driver 2.33 release - https://chromedriver.storage.googleapis.com/index.html?path=2.33/
   v2.32 - Chrome Driver 2.32 release - https://chromedriver.storage.googleapis.com/index.html?path=2.32/
   v2.31 - Chrome Driver 2.31 release - https://chromedriver.storage.googleapis.com/index.html?path=2.31/
   v2.30 - Chrome Driver 2.30 release - https://chromedriver.storage.googleapis.com/index.html?path=2.30/
   v2.29 - Chrome Driver 2.29 release - https://chromedriver.storage.googleapis.com/index.html?path=2.29/
   v2.28 - Chrome Driver 2.28 release - https://chromedriver.storage.googleapis.com/index.html?path=2.28/
   v2.27 - Chrome Driver 2.27 release - https://chromedriver.storage.googleapis.com/index.html?path=2.27/
   v2.26 - Chrome Driver 2.26 release - https://chromedriver.storage.googleapis.com/index.html?path=2.26/
   v2.25.0.1 - Fixed package so it now includes the correct Web Driver (i.e. Chrome Driver 2.25)
   v2.25 - Chrome Driver 2.25 release - https://chromedriver.storage.googleapis.com/index.html?path=2.25/