Skip to main content

Generates page object classes for Microsoft Playwright with ease.

Installation

Install Yapoml.Playwright nuget package.

dotnet add 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");