pablocom / Selenium.AutomatedTests

Easily write maintainable end-to-end tests by writing scenarios in a fluent fashion.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IMPORTANT: This package has been deprecated

Selenium.AutomatedTests

CI

Easily write maintainable end-to-end tests using Selenium by writing automation scenarios in a fluent fashion.

It consists of a set of tools built atop existing features in Selenium.

Installation

Install the library from NuGet:

dotnet add package Selenium.AutomatedTests

Example usage

[Fact]
public void SearchForATextInGoogle()
{
    using var scenario = new AutomationScenarioBuilder(ProvideWebDriver());

    scenario
        .NavigateTo("https://google.com")
        .WithSteps<GoogleSearchSteps>(step =>
        {
            step.WaitUntilSearchBarIsLoaded();
            step.ClickOnAcceptTermsAndConditions();
            step.Search("This is fine gif");
        });

    scenario.BuildAndRun();
}

Documentation: https://github.com/pablocom/Selenium.AutomatedTests/wiki

About

Easily write maintainable end-to-end tests by writing scenarios in a fluent fashion.

License:MIT License


Languages

Language:C# 100.0%