Selenium.WebDriver.NetCoreWebDriverFactory 1.0.1

There is a newer version of this package available.
See the version list below for details.
Install-Package Selenium.WebDriver.NetCoreWebDriverFactory -Version 1.0.1
dotnet add package Selenium.WebDriver.NetCoreWebDriverFactory --version 1.0.1
<PackageReference Include="Selenium.WebDriver.NetCoreWebDriverFactory" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Selenium.WebDriver.NetCoreWebDriverFactory --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Selenium.WebDriver.NetCoreWebDriverFactory, 1.0.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Selenium.WebDriver.NetCoreWebDriverFactory as a Cake Addin
#addin nuget:?package=Selenium.WebDriver.NetCoreWebDriverFactory&version=1.0.1

// Install Selenium.WebDriver.NetCoreWebDriverFactory as a Cake Tool
#tool nuget:?package=Selenium.WebDriver.NetCoreWebDriverFactory&version=1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

A library to ease the creation of Selenium WebDriver instances in .net Core projects.

Usage
For Safari, Microsoft Edge in Windows 10 October 2018 Update (version 1809) onwards or any case where the required WebDriver is on the System Path:

IWebDriver localWebDriver = StaticWebDriverFactory.GetLocalWebDriver(Browser.Edge);

For Chrome, Internet Explorer, Firefox or Microsoft Edge in Windows 10 version 1803 or earlier when the WebDriver is provided by a Nuget Package in your test project:

IWebDriver localWebDriver = StaticWebDriverFactory.GetLocalWebDriver(Browser.Edge, Path.GetDirectoryName(Assembly.GetCallingAssembly().Location));

or

IWebDriver remoteWebDriver = StaticWebDriverFactory.GetRemoteWebDriver(Browser.Chrome, gridUri, Platform.Linux);

Supported Browsers:
Chrome
Firefox
Edge (Windows 10)
Internet Explorer 11 (Windows Platforms)
Safari (MacOS)

Platforms:
Windows
Linux
MacOS

Tested and working on Windows 10, Linux (Ubuntu 18.04) and MacOS Mojave

The repository at
https://github.com/AlexanderOnTesting/NetCoreWebDriverFactory
contains test projects for Windows, Linux and MacOS. These can be used to test your setup and demonstrate the options available.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Selenium.WebDriver.NetCoreWebDriverFactory:

Package Downloads
Selenium.WebDriver.WebDriverFactoryNunitConfig

Pick up NetCoreWebDriverFactory configuration for Nunit 3 test projects from runsettings files and with local file override options. See project URL for details.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.0.0 5,106 6/20/2019
2.3.0 965 3/10/2019
2.2.0 349 3/1/2019
2.1.0 413 1/3/2019
2.0.0 371 12/19/2018
1.0.1 419 11/2/2018
1.0.0 457 10/11/2018
0.9.6 420 10/10/2018

v1.0.1
1 November 2018
Now tested and fixed for use on MacOS Mojave.
Release tested on Windows 10 (versions 1803 and 1809), Ubuntu 18.04 and MacOS Mojave
All Supported browsers tested both local and Remote through Selenium Grid v3.14