VisionAutomationFramework 2.1.0
dotnet add package VisionAutomationFramework --version 2.1.0
NuGet\Install-Package VisionAutomationFramework -Version 2.1.0
<PackageReference Include="VisionAutomationFramework" Version="2.1.0" />
<PackageVersion Include="VisionAutomationFramework" Version="2.1.0" />
<PackageReference Include="VisionAutomationFramework" />
paket add VisionAutomationFramework --version 2.1.0
#r "nuget: VisionAutomationFramework, 2.1.0"
#:package VisionAutomationFramework@2.1.0
#addin nuget:?package=VisionAutomationFramework&version=2.1.0
#tool nuget:?package=VisionAutomationFramework&version=2.1.0
Vision Automation Framework (VAF)
VAF is a fluent test automation framework for .NET on top of Selenium WebDriver. Waiting for the page, for elements to be visible and interactable is handled for you, so tests read like the steps they describe.
Requirements
- .NET Framework 4.7.2 test project
- NUnit 3 (3.14 or newer 3.x). VAF asserts with NUnit internally; NUnit 4 is not supported in 2.x.
- Google Chrome (or Firefox, Safari, IE). Browser drivers are downloaded automatically by Selenium Manager on the first run — no ChromeDriver package needed.
Installation
Install-Package VisionAutomationFramework
Quick start
using NUnit.Framework;
using VisionAutomationFramework;
using VisionAutomationFramework.Browsers;
using VisionAutomationFramework.Extensions;
public class Tests
{
[Test]
public void OpensExampleDomain()
{
var browser = Testing.On<Chrome>();
try
{
browser.LetsNavigateTo("https://example.com/")
.Should().HaveTitle("Example Domain");
}
finally
{
browser.Scope.Driver.Quit();
}
}
}
The full guide, including a ready-made project file, is at https://www.visionautomationframework.com/quick-start-guide.
What's new in 2.1.0
- Selenium 4.45 or newer 4.x. Selenium 4.45 renamed its assembly (
WebDriver→Selenium.WebDriver); a project with VAF 2.0.x and Selenium 4.45+ does not compile ("IWebDriver is defined in an assembly that is not referenced: WebDriver"). VAF 2.1.0 works with every Selenium 4.x from 4.45, so you can update Selenium on your own without waiting for a VAF release. - No ChromeDriver / IEDriver packages. Selenium Manager downloads the driver that matches the
installed browser. Behind a proxy that blocks the download, set
SE_PROXYor point Selenium to an existing driver. - No hardcoded BrowserStack credentials. BrowserStack classes read
BrowserStackUsernameandBrowserStackPasswordfrom app.config. BrowserStack support is marked obsolete and is removed in 3.0. - Dependencies trimmed to what VAF uses: Selenium.WebDriver, Selenium.Support, NUnit 3, Newtonsoft.Json, RestSharp 106.
Features
- Chrome, Firefox, Safari and Internet Explorer
- Pages, sections and elements as small classes with one locator each
- Element-specific actions and assertions (
AsButton(),AsTextInputField(),AsLabelText(), …) - Built-in waits and loader handling
- XML test log with an HTML report
Contact
https://www.visionautomationframework.com/contact
License
MIT — see LICENSE.md.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET Framework | net472 is compatible. net48 was computed. net481 was computed. |
-
.NETFramework 4.7.2
- Newtonsoft.Json (>= 13.0.1 && < 14.0.0)
- NUnit (>= 3.14.0 && < 4.0.0)
- RestSharp (>= 106.15.0 && < 107.0.0)
- Selenium.Support (>= 4.45.0 && < 5.0.0)
- Selenium.WebDriver (>= 4.45.0 && < 5.0.0)
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.1.0 | 0 | 9/27/2026 |
| 2.0.30 | 371 | 4/7/2025 |
| 2.0.29 | 297 | 4/7/2025 |
| 2.0.28 | 235 | 11/19/2024 |
| 2.0.27 | 249 | 10/28/2024 |
| 2.0.24 | 237 | 7/29/2024 |
| 2.0.23 | 280 | 5/29/2024 |
| 2.0.22 | 266 | 5/29/2024 |
| 2.0.21 | 275 | 5/28/2024 |
| 2.0.20 | 292 | 5/16/2024 |
| 2.0.19 | 541 | 1/4/2024 |
| 2.0.18 | 675 | 10/26/2023 |
| 2.0.17 | 610 | 9/13/2023 |
| 2.0.16 | 585 | 9/12/2023 |
| 2.0.15 | 764 | 4/28/2023 |
| 2.0.14 | 769 | 4/11/2023 |
| 2.0.13 | 949 | 12/5/2022 |
| 2.0.12 | 1,374 | 2/10/2022 |
| 2.0.11 | 1,033 | 12/7/2021 |
| 2.0.10 | 1,024 | 12/7/2021 |
2.1.0: works with Selenium 4.45 and every later 4.x (a project with VAF 2.0.x and Selenium 4.45+ does not compile); no ChromeDriver/IEDriver packages — Selenium Manager downloads the driver; no hardcoded BrowserStack credentials (read from app.config; BrowserStack is obsolete and removed in 3.0); dependencies trimmed to Selenium, NUnit 3, Newtonsoft.Json and RestSharp.