NSelene 1.0.0-alpha07
See the version list below for details.
dotnet add package NSelene --version 1.0.0-alpha07
NuGet\Install-Package NSelene -Version 1.0.0-alpha07
<PackageReference Include="NSelene" Version="1.0.0-alpha07" />
paket add NSelene --version 1.0.0-alpha07
#r "nuget: NSelene, 1.0.0-alpha07"
// Install NSelene as a Cake Addin #addin nuget:?package=NSelene&version=1.0.0-alpha07&prerelease // Install NSelene as a Cake Tool #tool nuget:?package=NSelene&version=1.0.0-alpha07&prerelease
NSelene is a wrapper over Selenium Webdriver, built to provide user-oriented API for Web UI tests in Browser and improve tests stability by implementing smart implicit waiting for commands and assertions. It's inspired by Selenide from Java, SelenideJs from JavaScript and Selene from Python.
Main features:
- User-oriented API for Selenium Webdriver (code like speak common English)
- Dynamic/Ajax UI support (Smart implicit waiting and retry mechanism for commands and assertions)
- PageObjects support (all elements are lazy-evaluated objects)
Tests with NSelene can be built either in a simple straightforward "selenide' style or with PageObjects composed from Widgets i.e. reusable element components.
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 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
- Selenium.WebDriver (>= 3.141.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 |
---|---|---|
1.0.0-alpha14 | 209 | 8/28/2024 |
1.0.0-alpha13 | 226 | 2/13/2024 |
1.0.0-alpha12 | 118 | 2/9/2024 |
1.0.0-alpha11 | 1,526 | 5/16/2023 |
1.0.0-alpha10 | 16,872 | 5/27/2022 |
1.0.0-alpha09 | 6,665 | 5/18/2021 |
1.0.0-alpha08 | 309 | 5/18/2021 |
1.0.0-alpha07 | 263 | 5/13/2021 |
1.0.0-alpha06 | 235 | 5/12/2021 |
1.0.0-alpha05 | 266 | 4/28/2021 |
1.0.0-alpha03 | 4,674 | 6/3/2020 |
1.0.0-alpha02 | 1,523 | 5/26/2020 |
1.0.0-alpha01 | 357 | 5/21/2020 |
0.0.0.7 | 36,234 | 5/28/2018 |
0.0.0.6 | 2,404 | 8/1/2016 |
0.0.0.5 | 1,130 | 5/29/2016 |
0.0.0.4 | 1,046 | 5/12/2016 |
0.0.0.3 | 1,072 | 5/11/2016 |
0.0.0.2 | 1,033 | 3/20/2016 |
0.0.0.1 | 1,117 | 12/30/2015 |
- improved error messsages
- now condition in Should method will be rendered like:
`... .Should(Be.Visible)` over just `... .Visible`
- deprecated SeleneElement#config, use SeleneElement#Config instead
- yet be attentive... the fate of keeping SeleneElement#Config as public is also vague...
- added experimental feature: Configuration._HookWaitAction
- prefixed with underscore implies that this feature is kind of "publically available private property that might be changed/renamed/removed/etc in future;)", so use it on your own risk!!!
- by default equals to null, making internally call waiting algorithm for actions as it is, without additional customization
- specified to something like:
```
Configuration._HookWaitAction = (entityObject, describeComputation, wait) => {
Console.WriteLine($"STARTED WAITING FOR: {entityObject}.{describeComputation()}");
try
{
wait();
Console.WriteLine($"FINISHED WAITING FOR: {entityObject}.{describeComputation()}");
}
catch (Exception error)
{
Console.WriteLine($"FAILED WAITING FOR: {entityObject}.{describeComputation()}");
throw error;
}
};
```
- should provide some additinal logging for all Selene actions, called on entities (like SeleneElement, SeleneCollection)
- under actions we mean "void commands" not "queries returning result".
- void command like element.Should(condition) will return the element itself instead of void ;)