Deque.AxeCore.Commons
4.10.0-alpha.82
Prefix Reserved
See the version list below for details.
dotnet add package Deque.AxeCore.Commons --version 4.10.0-alpha.82
NuGet\Install-Package Deque.AxeCore.Commons -Version 4.10.0-alpha.82
<PackageReference Include="Deque.AxeCore.Commons" Version="4.10.0-alpha.82" />
paket add Deque.AxeCore.Commons --version 4.10.0-alpha.82
#r "nuget: Deque.AxeCore.Commons, 4.10.0-alpha.82"
// Install Deque.AxeCore.Commons as a Cake Addin #addin nuget:?package=Deque.AxeCore.Commons&version=4.10.0-alpha.82&prerelease // Install Deque.AxeCore.Commons as a Cake Tool #tool nuget:?package=Deque.AxeCore.Commons&version=4.10.0-alpha.82&prerelease
Deque.AxeCore.Commons
Provides a .NET wrapper around axe-core, including a bundled copy of axe-core
and .NET typings for its options and results.
Getting Started
Install a .NET SDK if you haven't already.
Install Deque.AxeCore.Commons
and its dependencies:
dotnet add package Deque.AxeCore.Commons
Usage
This package exists primarily to help .NET tool developers integrate axe-core
with different tools and test frameworks. If you are just trying to write test cases using axe-core
, you probably want to use one of these instead:
- Deque.AxeCore.Playwright in combination with Playwright for .NET
- Deque.AxeCore.Selenium in combination with Selenium's C# Selenium.WebDriver package
AxeResult
AxeResult
represents the axe-core Results Object.
AxeRunContext
AxeRunContext
represents the axe-core Context Parameter.
AxeRunOptions
AxeRunOptions
represents the axe-core Options Parameter.
Axe script providers
The IAxeScriptProvider
interface is suitable for use as an option in an API for running an axe-core
scan of a page. It specifies a single method, GetScript()
, which returns a string containing JavaScript code suitable for injecting into a running page.
This library provides two IAxeScriptProvider
implementations:
1. BundledAxeScriptProvider
BundledAxeScriptProvider
provides a bundled copy of axe-core
which is included with the library. The included version will match the major and minor version of the library, but may not match the patch version.
This script provider is suitable as a default option for users that don't wish to explicitly override the version of axe-core
to use.
IAxeScriptProvider axeScriptProvider = new BundledAxeScriptProvider();
axeScriptProvider.GetScript(); // a string containing the contents of the bundled copy of axe.min.js
2. FileAxeScriptProvider
FileAxeScriptProvider
is an alternate option for users that wish to provide their own separate implementation of axe-core
, usually for the purposes of pinning to a specific axe-core
version independently of this library's version.
new FileAxeScriptProvider("./path/to/axe.min.js");
axeScriptProvider.GetScript(); // synchronously reads the contents of file ./path/to/axe.min.js
License
This package, including its embedded copy of axe-core, is distributed under the terms of the Mozilla Public License, version 2.0.
Acknowledgements
This package builds on past work from the SeleniumAxeDotnet and PlaywrightAxeDotnet projects (see NOTICE.txt). We thank all of those projects' contributors for their work.
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 was computed. 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. |
.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 is compatible. 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. |
-
.NETFramework 4.7.1
- NewtonSoft.Json (>= 13.0.1)
-
.NETStandard 2.0
- NewtonSoft.Json (>= 13.0.1)
NuGet packages (6)
Showing the top 5 NuGet packages that depend on Deque.AxeCore.Commons:
Package | Downloads |
---|---|
Deque.AxeCore.Selenium
Tools for using aXe for web accessibility testing with C# and Selenium |
|
Lombiq.Tests.UI
Lombiq UI Testing Toolbox for Orchard Core: Web UI testing toolbox mostly for Orchard Core applications. Everything you need to do UI testing with Selenium for an Orchard app is here. See the project website for detailed documentation. |
|
Deque.AxeCore.Playwright
Automated accessibility testing via axe for tests written with Microsoft Playwright .NET |
|
GingerCoreNET
Package Description |
|
OpenMAQS.Maqs.Selenium
Selenium extension for Open MAQS' modular automation quick start |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
4.10.1 | 2,978 | 11/11/2024 |
4.10.1-alpha.91 | 39 | 11/8/2024 |
4.10.0 | 21,526 | 9/3/2024 |
4.10.0-alpha.90 | 34 | 11/8/2024 |
4.10.0-alpha.88 | 40 | 10/29/2024 |
4.10.0-alpha.82 | 533 | 8/7/2024 |
4.9.1 | 58,761 | 5/13/2024 |
4.9.1-alpha.81 | 50 | 7/30/2024 |
4.9.1-alpha.80 | 58 | 5/15/2024 |
4.9.1-alpha.78 | 68 | 5/8/2024 |
4.9.0 | 7,361 | 3/29/2024 |
4.9.0-alpha.79 | 61 | 5/9/2024 |
4.9.0-alpha.77 | 62 | 5/7/2024 |
4.9.0-alpha.76 | 48 | 3/29/2024 |
4.9.0-alpha.75 | 70 | 3/26/2024 |
4.8.2 | 358,552 | 2/14/2024 |
4.8.2-alpha.74 | 66 | 3/26/2024 |
4.8.2-alpha.73 | 66 | 2/14/2024 |
4.8.2-alpha.72 | 57 | 2/14/2024 |
4.8.2-alpha.71 | 62 | 2/14/2024 |
4.8.2-alpha.70 | 65 | 2/8/2024 |
4.8.1 | 6,906 | 1/11/2024 |
4.8.1-alpha.69 | 58 | 2/8/2024 |
4.8.1-alpha.68 | 57 | 2/8/2024 |
4.8.1-alpha.65 | 68 | 1/9/2024 |
4.8.0 | 277,328 | 10/2/2023 |
4.8.0-alpha.67 | 67 | 2/7/2024 |
4.8.0-alpha.64 | 69 | 1/9/2024 |
4.8.0-alpha.63 | 75 | 1/9/2024 |
4.8.0-alpha.62 | 70 | 1/9/2024 |
4.7.2 | 11,587 | 8/30/2023 |
4.7.2-alpha.61 | 75 | 12/21/2023 |
4.7.2-alpha.59 | 76 | 11/21/2023 |
4.7.2-alpha.58 | 77 | 11/2/2023 |
4.7.2-alpha.57 | 75 | 11/1/2023 |
4.7.2-alpha.56 | 67 | 10/30/2023 |
4.7.2-alpha.55 | 70 | 10/19/2023 |
4.7.2-alpha.54 | 77 | 10/16/2023 |
4.7.2-alpha.53 | 75 | 10/16/2023 |
4.7.2-alpha.52 | 78 | 10/5/2023 |
4.7.2-alpha.51 | 78 | 10/3/2023 |
4.7.2-alpha.50 | 70 | 10/3/2023 |
4.7.2-alpha.49 | 74 | 9/27/2023 |
4.7.1-alpha.48 | 73 | 9/27/2023 |
4.7.1-alpha.47 | 77 | 9/27/2023 |
4.7.1-alpha.46 | 90 | 9/14/2023 |
4.7.1-alpha.45 | 80 | 9/13/2023 |
4.7.1-alpha.44 | 82 | 9/8/2023 |
4.7.1-alpha.43 | 86 | 8/30/2023 |
4.7.1-alpha.42 | 85 | 8/30/2023 |
4.4.0-alpha.c9651f2c2284967... | 42,994 | 11/10/2022 |
4.4.0-alpha.41 | 86 | 8/30/2023 |
4.4.0-alpha.40 | 87 | 8/30/2023 |