OneStreamAutoLibrary.SeleniumHelpers
2025.12.12.5
See the version list below for details.
dotnet add package OneStreamAutoLibrary.SeleniumHelpers --version 2025.12.12.5
NuGet\Install-Package OneStreamAutoLibrary.SeleniumHelpers -Version 2025.12.12.5
<PackageReference Include="OneStreamAutoLibrary.SeleniumHelpers" Version="2025.12.12.5" />
<PackageVersion Include="OneStreamAutoLibrary.SeleniumHelpers" Version="2025.12.12.5" />
<PackageReference Include="OneStreamAutoLibrary.SeleniumHelpers" />
paket add OneStreamAutoLibrary.SeleniumHelpers --version 2025.12.12.5
#r "nuget: OneStreamAutoLibrary.SeleniumHelpers, 2025.12.12.5"
#:package OneStreamAutoLibrary.SeleniumHelpers@2025.12.12.5
#addin nuget:?package=OneStreamAutoLibrary.SeleniumHelpers&version=2025.12.12.5
#tool nuget:?package=OneStreamAutoLibrary.SeleniumHelpers&version=2025.12.12.5
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
- .NET Standard 2.0 or .NET 8.0 or later
- Selenium.WebDriver
- System.Text.Encoding.CodePages (for code page support)
License
MIT License. See LICENSE for details.
| Product | Versions 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. |
-
.NETStandard 2.0
- DotNetSeleniumExtras.WaitHelpers (>= 3.11.0)
- Microsoft.Extensions.Configuration (>= 9.0.11)
- Microsoft.Extensions.Configuration.Abstractions (>= 9.0.11)
- Microsoft.Extensions.Configuration.EnvironmentVariables (>= 9.0.11)
- Microsoft.Extensions.Configuration.FileExtensions (>= 9.0.11)
- Microsoft.Extensions.Configuration.Json (>= 9.0.11)
- Selenium.Support (>= 4.39.0)
- Selenium.WebDriver (>= 4.39.0)
- System.Text.Encoding.CodePages (>= 9.0.11)
-
net8.0
- DotNetSeleniumExtras.WaitHelpers (>= 3.11.0)
- Microsoft.Extensions.Configuration (>= 9.0.11)
- Microsoft.Extensions.Configuration.Abstractions (>= 9.0.11)
- Microsoft.Extensions.Configuration.EnvironmentVariables (>= 9.0.11)
- Microsoft.Extensions.Configuration.FileExtensions (>= 9.0.11)
- Microsoft.Extensions.Configuration.Json (>= 9.0.11)
- Selenium.Support (>= 4.39.0)
- Selenium.WebDriver (>= 4.39.0)
- System.Text.Encoding.CodePages (>= 9.0.11)
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 | 353 | 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 |