OneStreamAutoLibrary.SeleniumHelpers 2025.12.18.1

dotnet add package OneStreamAutoLibrary.SeleniumHelpers --version 2025.12.18.1
                    
NuGet\Install-Package OneStreamAutoLibrary.SeleniumHelpers -Version 2025.12.18.1
                    
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="OneStreamAutoLibrary.SeleniumHelpers" Version="2025.12.18.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="OneStreamAutoLibrary.SeleniumHelpers" Version="2025.12.18.1" />
                    
Directory.Packages.props
<PackageReference Include="OneStreamAutoLibrary.SeleniumHelpers" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add OneStreamAutoLibrary.SeleniumHelpers --version 2025.12.18.1
                    
#r "nuget: OneStreamAutoLibrary.SeleniumHelpers, 2025.12.18.1"
                    
#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.
#:package OneStreamAutoLibrary.SeleniumHelpers@2025.12.18.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=OneStreamAutoLibrary.SeleniumHelpers&version=2025.12.18.1
                    
Install as a Cake Addin
#tool nuget:?package=OneStreamAutoLibrary.SeleniumHelpers&version=2025.12.18.1
                    
Install as a Cake Tool

SeleniumHelpers

A cross-platform Selenium WebDriver utility library targeting .NET Standard 2.0 and .NET 8, designed to simplify browser automation for both web and desktop automation projects. This library provides browser management, configuration, screen capture, and common automation helpers, making it easy to integrate Selenium-based automation into your .NET solutions.

Features

  • Browser Management:
    Easily create and configure Chrome, Firefox, Edge, Safari, and IE WebDriver instances.
  • Selenium Grid & BrowserStack Support:
    Seamless integration with Selenium Grid and BrowserStack for distributed and cloud-based testing.
  • Mobile Emulation:
    Built-in support for Chrome mobile emulation.
  • Screen Capture:
    Capture screenshots during automation runs for reporting and debugging.
  • Automation Base Class:
    Common wait, element interaction, and navigation helpers for robust automation scripts.
  • Extensible Configuration:
    Centralized configuration for driver paths, run modes, and remote endpoints.

Installation

Add the package to your .NET project using the NuGet CLI:

dotnet add package SeleniumHelpers

Or via the NuGet Package Manager in Visual Studio.

Usage Example

using Selenium; using OpenQA.Selenium;

class Example { public void RunTest() { // Create a browser instance (e.g., Chrome) IWebDriver driver = Browser.CreateBrowser("Chrome", "SampleSession"); driver.Navigate().GoToUrl("https://www.example.com");

  //Use AutomationBase for common actions
  var automation = new AutomationBase(driver);
  var element = automation.WaitUntilElementExists(By.Id("username"));

  // Take a screenshot
   ScreenCaptureLibrary.CaptureScreenshot(driver, "screenshot.png");
   driver.Quit();

} }

Configuration

The library uses a static SeleniumConfig class for configuration. You can customize:

  • Driver paths
  • Run mode (Web/Mobile)
  • Selenium Grid or BrowserStack endpoints
  • Browser capabilities

Update SeleniumConfig.cs or provide environment variables as needed.

Requirements

License

MIT License. See LICENSE for details.

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 is compatible.  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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.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 (4)

Showing the top 4 NuGet packages that depend on OneStreamAutoLibrary.SeleniumHelpers:

Package Downloads
WebComponentsHelper

Package Description

WindowsComponentsHelper

Reusable Windows UI automation components for automation.

OneStreamAutoLibrary.WebHelpers

Package Description

OneStreamAutoLibrary.WebUIHelpers

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2025.12.18.1 352 12/18/2025
2025.12.16.2 463 12/16/2025
2025.12.16.1 263 12/16/2025
2025.12.12.5 105 12/12/2025
2025.12.12.4 106 12/12/2025