Generates page object classes for Selenium WebDriver with ease.
Installation
Install Yapoml.Selenium nuget package.
- .NET CLI
- Package Manager
dotnet add package Yapoml.Selenium
NuGet\Install-Package Yapoml.Selenium
You can now start creating your *.page.yaml
files.
Usage
Given that you have the following Login.page.yaml
file
username input: id username
Then you are able to immediately interact with web elements
driver.Ya().LoginPage.UsernameInput.Type("user01");