Legerity.Android 1.0.0

dotnet add package Legerity.Android --version 1.0.0
                    
NuGet\Install-Package Legerity.Android -Version 1.0.0
                    
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="Legerity.Android" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Legerity.Android" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Legerity.Android" />
                    
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 Legerity.Android --version 1.0.0
                    
#r "nuget: Legerity.Android, 1.0.0"
                    
#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 Legerity.Android@1.0.0
                    
#: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=Legerity.Android&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Legerity.Android&version=1.0.0
                    
Install as a Cake Tool

Legerity for Android

NuGet

Android platform extension for the Legerity UI testing framework. Provides typed element wrappers for Android UI controls.

Installation

dotnet add package Legerity.Android

What's included

  • AndroidElementWrapper - Base wrapper for Android UI elements
  • AndroidByExtras - ContentDescription and PartialContentDescription locators
  • Core element wrappers - Button, CheckBox, DatePicker, EditText, RadioButton, Spinner, Switch, TextView, ToggleButton, View

Quick start

using Legerity.Android;
using Legerity.Android.Elements.Core;

public class LoginPage : BasePage
{
    protected override By Trait => MobileBy.Id("loginForm");

    public EditText Username => FindElement(MobileBy.Id("usernameInput"));
    public EditText Password => FindElement(MobileBy.Id("passwordInput"));
    public Button SignIn => FindElement(MobileBy.Id("signInButton"));
}

Documentation

Full documentation is available at made-apps.github.io/legerity.

License

This project is made available under the MIT license.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Legerity.Android:

Package Downloads
Legerity

Meta-package for the Legerity UI testing framework. Includes core, Windows, Android, iOS, and Web element wrapper packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0 71 12/2/2026
1.0.0-alpha1 193 3/15/2024
0.14.0 9,484 2/17/2023
0.13.1 711 12/30/2022
0.13.0 656 12/23/2022
0.12.0 989 9/8/2022
0.12.0-preview2 457 6/9/2022
0.12.0-preview1 451 6/9/2022
0.11.1 1,260 6/6/2022
0.11.0 7,091 6/4/2022
0.10.0 1,156 4/28/2022
0.9.0 1,064 4/5/2022
0.8.2 1,083 3/24/2022
0.8.1 984 3/20/2022
0.8.0 1,004 3/19/2022
0.7.0 1,039 1/12/2022
0.7.0-preview1 549 11/12/2021
0.6.6 720 11/11/2021
0.6.5 789 9/25/2021
0.6.4 830 6/12/2021
Loading failed