Selenium.WebDriver.WebDriverFactoryNunitConfig 4.1.0

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

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

Selenium.WebDriver.WebDriverFactoryNunitConfig

NUnit 3 based configuration library for Selenium.WebDriver.NetCoreWebDriverFactory

WebDriverSettings.cs provides static properties that can be used, including in NUnit 3 [OneTimeSetup] methods to configure the WebDriver that you wish to use.

Individual configurations are loaded from an applied runsettings file or assigned a default EXCEPT where overrides apply.

Overrides

The complete WebDriverConfiguration

WebDriverSettings.WebDriverConfiguration will return a configuration loaded from the json file at

  • "My Documents/Config_WebDriver.json" (Windows) or
  • "/Config_WebDriver.json" (Mac / Linux)

if present, otherwise returning one based on the individual configurations

GridUri

WebDriverSettings.GridUri will return a Uri generated according to the following priority

1 loaded from the json file at

  • "My Documents/Config_GridUri.json" (Windows)
  • "/Config_GridUri.json" (Mac / Linux)

if present

2 the value defined in

  • "My Documents/Config_WebDriver.json" (Windows) or
  • "/Config_WebDriver.json" (Mac / Linux)

if present

3 the value defined in the runsetting gridUri

4 if no value is found - the Selenium Grid 4 default Uri "http://localhost:4444"

Example runsettings

<?xml version="1.0" encoding="utf-8"?>
<RunSettings>
  <TestRunParameters>
    <Parameter name="browserType" value="Chrome" />
    <Parameter name="isLocal" value="true" />
    <Parameter name="headless" value="false" />
    <Parameter name="windowSize" value="Qhd" />
    <Parameter name="languageCulture" value="es-ES" />
  </TestRunParameters>
</RunSettings>

Example Config_GridUri.json

"http://localhost:4445/"

Example Config_WebDriver.json

{ "Browser": "SAFARI", "IsLocal": false, "PlatformType": "MAC", "WindowSize": "FHd", "Headless": false, "GridUri": "http://localhost:4445/", "LanguageCulture": "" }

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
4.1.0 536 5/29/2022
4.0.0 411 4/23/2022
4.0.0-RC3 125 4/21/2022
4.0.0-RC2 112 4/20/2022
4.0.0-RC1 113 4/4/2022
4.0.0-beta7 129 2/18/2022
4.0.0-beta6 126 2/13/2022
4.0.0-beta5 138 2/9/2022
4.0.0-beta4 132 2/7/2022
4.0.0-beta30 124 4/4/2022
4.0.0-beta3 122 2/6/2022
4.0.0-beta2 131 2/5/2022
4.0.0-beta12 122 2/21/2022
4.0.0-beta 135 2/5/2022
3.0.0 795 6/20/2019
2.3.0 580 3/10/2019
2.2.0 559 3/1/2019

v4.1.0
     Fix to ensure GridUri overides prioritise correctly.
     The gridUri value from Config_GridUri.json is applied even when a Config_WebDriver.json is present.
     v4.0.0
     Support for Selenium v4.x and Selenium Grid v4.x
     WebDriver Factory now supports Microsoft Edge on Windows, Linux and MacOs
     Webdriver factory now supports Internet Explorer mode on Microsoft Edge in local mode (required for Windows 11)
     Support for requesting a browser with a given language culture where supported.