Net4x.Browser2012Library
2.0.0.26283
dotnet add package Net4x.Browser2012Library --version 2.0.0.26283
NuGet\Install-Package Net4x.Browser2012Library -Version 2.0.0.26283
<PackageReference Include="Net4x.Browser2012Library" Version="2.0.0.26283" />
<PackageVersion Include="Net4x.Browser2012Library" Version="2.0.0.26283" />
<PackageReference Include="Net4x.Browser2012Library" />
paket add Net4x.Browser2012Library --version 2.0.0.26283
#r "nuget: Net4x.Browser2012Library, 2.0.0.26283"
#:package Net4x.Browser2012Library@2.0.0.26283
#addin nuget:?package=Net4x.Browser2012Library&version=2.0.0.26283
#tool nuget:?package=Net4x.Browser2012Library&version=2.0.0.26283
Net4x.Browser2012Library
Net4x.BrowserLibrary built for machines stuck on Chrome 109 — the last Chrome for Windows 7 / 8 /
Server 2012. Same sources, same public API, same assembly name (BrowserLibrary); the difference is a
pinned driver and a narrower build.
Use it instead of Net4x.BrowserLibrary, never alongside it: both produce a BrowserLibrary assembly.
Install
dotnet add package Net4x.Browser2012Library
| Target framework | net8.0-windows |
| Platform | x64 |
| Driver | chromedriver 109.0.5414.7400, copied next to the output as chromedriver.exe |
| Engine | Chrome only |
The pinned chromedriver.exe sits beside the assembly, so it wins over Selenium Manager — which would
otherwise resolve a driver against whatever Chrome is installed.
The package ships build\Net4x.Browser2012Library.props, which copies the driver into the consuming
project's output and adds global using directives for OpenQA.Selenium,
OpenQA.Selenium.Support.UI and OpenQA.Selenium.Support.Extensions.
Quick start
using BrowserLibrary;
using var utility = BrowserUtility.CreateInstance();
using var session = utility.OpenBrowser("https://example.com", []);
var title = session.Driver.GetInnerTextByXpath("//h1");
Differences from Net4x.BrowserLibrary
| Net4x.BrowserLibrary | Net4x.Browser2012Library | |
|---|---|---|
| Frameworks | net45 → net8.0-windows | net8.0-windows only |
| Platforms | AnyCPU | x64 |
| Browsers | Chrome, Firefox | Chrome 109 |
| chromedriver | resolved by Selenium Manager | pinned 109.0.5414.7400, shipped |
BrowserKind.Firefox still compiles, but no geckodriver is shipped and Firefox is not a supported
configuration here.
API
Identical to Net4x.BrowserLibrary — BrowserUtility, IBrowserSession, and the driver extensions
(ClickExtension, InnerTextExtension, GetHtmlExtension, ExecuteScriptExtension, …). See that
package's README for the full surface.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0-windows7.0 is compatible. net9.0-windows was computed. net10.0-windows was computed. |
-
net8.0-windows7.0
- Net4x.BaseTypes (>= 1.3.1.26262)
- Net4x.FormLogging.Library (>= 1.4.0.26248)
- Net4x.HtmlCleaner (>= 1.4.0.26249)
- Net4x.UtilityLibrary (>= 1.5.1.26262)
- Polly (>= 8.4.1)
- Selenium.Support (>= 4.13.1)
- Selenium.WebDriver.ChromeDriver (>= 109.0.5414.7400)
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 |
|---|---|---|
| 2.0.0.26283 | 53 | 10/11/2026 |
| 2.0.0.26238 | 115 | 8/27/2026 |
| 1.3.0.2 | 156 | 1/6/2026 |
| 1.3.0 | 280 | 3/31/2025 |
| 1.3.0-at20230511053312 | 226 | 4/4/2025 |