IMPORTANT: This package has been deprecated
Selenium.AutomatedTests
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