Skip to content

Page Object generation for Microsoft Playwright

License

Notifications You must be signed in to change notification settings

yapoml/yapoml.playwright

Repository files navigation

Generates page object classes for Microsoft Playwright with ease.

Given that you have the following LoginPage.po.yaml file

UsernameInput: "#username"

Then you are able to immediately interact with web elements

using Yapoml.Playwright;

page.Ya().LoginPage.UsernameInput.Type("user01");

Installation

Install Yapoml.Playwright nuget package and create your *.po.yaml files.