Selenium.Firefox.WebDriver 0.27.0

dotnet add package Selenium.Firefox.WebDriver --version 0.27.0                
NuGet\Install-Package Selenium.Firefox.WebDriver -Version 0.27.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.Firefox.WebDriver" Version="0.27.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Selenium.Firefox.WebDriver --version 0.27.0                
#r "nuget: Selenium.Firefox.WebDriver, 0.27.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.Firefox.WebDriver as a Cake Addin
#addin nuget:?package=Selenium.Firefox.WebDriver&version=0.27.0

// Install Selenium.Firefox.WebDriver as a Cake Tool
#tool nuget:?package=Selenium.Firefox.WebDriver&version=0.27.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 (40)

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

Package Downloads
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.

JDI.UIWeb

Framework for Web UI Automation Testing

IA.Framework.Selenium

Description

AtafWebGuiCore

This part of ATAF is a wrapper for tests automation Selenium Webdriver

Browser

Broswer Connect

GitHub repositories (6)

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

Repository Stars
openbullet/openbullet
The OpenBullet web testing application.
AutomateThePlanet/AutomateThePlanet-Learning-Series
Automate The Planet Series Source Code
microsoft/EasyRepro
Automated UI testing API for Dynamics 365
cmu-sei/GHOSTS
GHOSTS is a realistic user simulation framework for cyber experimentation, simulation, training, and exercise
AdrianWilczynski/CSharpToTypeScript
Convert C# Models, ViewModels and DTOs into their TypeScript equivalents using webapps, CLI Tool or VSCode extension. Links: https://marketplace.visualstudio.com/items?itemName=adrianwilczynski.csharp-to-typescript - https://csharptotypescript.azurewebsites.net - https://adrianwilczynski.github.io/CSharpToTypeScript/ - https://www.nuget.org/packages/CSharpToTypeScript.CLITool/
Version Downloads Last updated
0.27.0 4,037,797 9/8/2020
0.26.0 2,130,936 10/21/2019
0.25.0 12,949 10/21/2019
0.24.0 1,793,294 4/24/2019
0.23.0 883,739 12/13/2018
0.22.0 548,023 10/1/2018
0.21.0 413,282 6/18/2018
0.20.1 10,405 6/18/2018
0.20.0 458,134 3/18/2018
0.19.1 542,243 11/12/2017
0.19.0 197,475 9/25/2017
0.18.0 135,905 7/13/2017
0.17.0 80,469 6/18/2017
0.16.1 125,754 5/4/2017
0.16.0 4,303 5/4/2017
0.15.0 70,349 3/14/2017
0.14.0 52,386 2/20/2017
0.13.0 52,272 1/8/2017
0.12.0 4,117 1/8/2017
0.11.1 43,928 11/1/2016

v0.27.0 - Firefox Driver 0.27.0 release - https://github.com/mozilla/geckodriver/releases/tag/v0.27.0