Generates page object classes for Microsoft Playwright with ease.
Installation
Install Yapoml.Playwright nuget package.
- .NET CLI
- Package Manager
dotnet add package Yapoml.Playwright
NuGet\Install-Package Yapoml.Playwright
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");