Selenium.WebDriver.GeckoDriver 0.23.0

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

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

NuGet package - Selenium WebDriver GeckoDriver

Win32, macOS, and Linux64 - NuGet Package / Win64 - NuGet Package

What's this? / これは何?

This NuGet package install Gecko Driver for Selenium WebDriver into your Unit Test Project.

この NuGet パッケージは、Selenium WebDriver用 Gecko Driver を単体テストプロジェクトに追加します。

"geckodriver.exe" does not appear in Solution Explorer, but it is copied to bin folder from package folder when the build process.

"geckodriver.exe" はソリューションエクスプローラ上には現れませんが、ビルド時にパッケージフォルダから bin フォルダへコピーされます。

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

NuGet パッケージの復元に対応済み、"geckodriver.exe" をソース管理リポジトリに登録する必要はありません。

How to install? / インストール方法

For example, at the package manager console on Visual Studio, enter following command.
一例として、Visual Studio 上のパッケージ管理コンソールにて、下記のコマンドを入力してください。

Win32, macOS, and Linux64

PM> Install-Package Selenium.WebDriver.GeckoDriver

Win64

PM> Install-Package Selenium.WebDriver.GeckoDriver.Win64

Detail / 詳細

Where is geckodriver.exe saved to? / どこに保存?

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

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

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

How to include the driver file into published files? / ドライバーを発行ファイルに含めるには?

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

"geckodriver(.exe)" は、既定の構成では、発行ファイルに含まれません。この挙動は仕様です。

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

"geckodriver(.exe)" を発行ファイルに含めるには、コンパイル定数 _PUBLISH_GECKODRIVER を定義してください。

define _PUBLISH_GECKODRIVER compilation symbol

Anoter way, you can define PublishGeckoDriver (in the case of Selenium.WebDriver.GeckoDriver package) or PublishGeckoDriverWin64 (in the case of Selenium.WebDriver.GeckoDriver.Win64 package) property with value is "true" in MSBuild file (.csproj, .vbproj, etc...) to publish the driver file instead of define compilation symbol.

別の方法として、コンパイル定数を定義する代わりに、MSBuild ファイル (.csproj, .vbproj, etc...) 中で PublishGeckoDriver (Selenium.WebDriver.GeckoDriver パッケージの場合) あるいは PublishGeckoDriverWin64 (Selenium.WebDriver.GeckoDriver.Win64 パッケージの場合) プロパティを値 true で定義することでドライバーを発行ファイルに含めることができます。

  <Project ...>
    ...
    <PropertyGroup>
      ...
      <PublishGeckoDriver>true</PublishGeckoDriver>
      ...
    </PropertyGroup>
...
</Project>
Note / 補足

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

PublishGeckoDriver/PublishGeckoDriverWin64 MSBuild プロパティは常に _PUBLISH_GECKODRIVER コンパイル定数を定義しているか否かの条件を上書きします。もし PublishGeckoDriver/PublishGeckoDriverWin64 MSBuild プロパティを false で定義したならば、_PUBLISH_GECKODRIVER コンパイル定数を定義しているか否かによらず、ドライバは発行ファイルに含められません。

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (26)

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

Package Downloads
Selenium.WebDriver.GeckoDriver.Win32

[Superseded] This package became metadata only package for bootstrap "Selenium.WebDriver.GeckoDriver" x-plat NuGet package. Please consider to install "Selenium.WebDriver.GeckoDriver" NuGet package directly instead of this. ---- Install Gecko Driver(Win32) for Selenium WebDriver into your Unit Test Project. "geckodriver.exe" is copied to bin folder from package folder when the build process. NuGet package restoring ready, and no need to commit "geckodriver.exe" binary into source code control repository. / The MSBuild script that contained this package is free and unencumbered software released into the public domain. / "geckodriver.exe" is licensed under the Mozilla Public License Version 2.0.

Miru.PageTesting.Firefox

Package Description

Ocaramba

Framework to automate tests using Selenium WebDriver

Ministry.WebDriver.Extensions

A basic styled framework to build a structured page or component model for writing UI Automation tests.

Selenium.QuickStart

QuickStart your web testing automation focusing only on what is important, being productive. Once you set your solution to x86 or x64, inherit a class and change your app.config as you want, this will provide an automatic Selenium WebDriver setup and session management, ExtentReports (Including Klov) to save test execution results, screenshot, video recording and email sending functionalities built in and ready to use with parametrizations you can set through an app.config. For installing this package successfully, your solution should be set to x86 instead of AnyCPU.

GitHub repositories (5)

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

Repository Stars
CodeMazeBlog/CodeMazeGuides
The main repository for all the Code Maze guides
featurist/coypu
Intuitive, robust browser automation for .Net
cmu-sei/GHOSTS
GHOSTS is a realistic user simulation framework for cyber simulation, training, and exercise
Accenture/Ocaramba
C# Framework to automate tests using Selenium WebDriver
Warewolf-ESB/Warewolf
Effortless Microservice Design and Integration. This repository includes the code-base for the Warewolf Studio and Server.
Version Downloads Last updated
0.34.0 76,783 1/3/2024
0.33.0 452,168 4/3/2023
0.32.2 110,138 2/8/2023
0.32.1 8,561 2/2/2023
0.32.0 246,007 10/13/2022
0.31.0.1 496,868 5/28/2022
0.31.0 202,331 4/15/2022
0.30.0.1 621,279 11/3/2021
0.30.0 159,876 9/17/2021
0.29.1 404,582 4/9/2021
0.29.0 330,118 1/14/2021
0.28.0 474,379 11/4/2020
0.27.0 253,073 7/29/2020
0.26.0.5 28,975 7/15/2020
0.26.0.5-beta 1,979 7/12/2020
0.26.0.3 38,549 6/28/2020
0.26.0.3-beta 199,751 5/25/2020
0.26.0.1 194,209 4/3/2020
0.26.0 530,064 10/13/2019
0.25.0 33,625 9/10/2019
0.24.0.1 12,788 9/3/2019
0.24.0 324,887 1/29/2019
0.23.0.3 39,410 11/21/2018
0.23.0.1 3,025 11/17/2018
0.23.0 45,104 10/4/2018
0.22.0 361,662 9/16/2018
0.21.0 54,059 6/18/2018
0.20.1 80,484 4/8/2018
0.20.0 62,165 3/13/2018
0.19.1 57,050 11/1/2017
0.19.0 9,002 10/17/2017
0.18.0 25,643 7/11/2017
0.17.0 104,419 6/9/2017
0.16.1 50,350 4/26/2017
0.16.0 3,337 4/24/2017
0.15.0.4 8,489 4/14/2017
0.15.0.3-beta 2,695 3/21/2017
0.15.0.2-beta 1,854 3/15/2017
0.15.0.1-beta 2,601 3/8/2017
0.14.0.1-beta 2,794 3/3/2017

v.0.23.0
     - Gecko Driver 0.23.0 release
     v.0.22.0
     - Gecko Driver 0.22.0 release
     v.0.21.0
     - Gecko Driver 0.21.0 release
     v.0.20.1
     - Gecko Driver 0.20.1 release
     v.0.20.0
     - Gecko Driver 0.20.0 release
     v.0.19.1
     - Gecko Driver 0.19.1 release
     v.0.19.0
     - Gecko Driver 0.19.0 release
     v.0.18.0
     - Gecko Driver 0.18.0 release
     v.0.17.0
     - Gecko Driver 0.17.0 release
     v.0.16.1
     - Gecko Driver 0.16.1 release
     v.0.16.0
     - Gecko Driver 0.16.0 release
     v.0.15.0.4
     - add support for Mono on Linux
     - add support for macOS and Xamarin Studio
     v.0.15.0
     - Gecko Driver 0.15.0 release
     v.0.14.0
     - Gecko Driver 0.14.0 release
     v.0.13.0
     - Gecko Driver 0.13.0 release
     v.0.12.0
     - Gecko Driver 0.12.0 release
     v.0.11.1
     - Gecko Driver 0.11.1 release