Flawright
Playwright-style async API for FlaUI Windows desktop application automation and E2E testing.
Overview
Flawright brings the Playwright developer experience to Windows desktop automation: fluent locators, selector strings, auto-waiting, and a full Expect() assertion chain — built on top of FlaUI and UI Automation (UIA3).
await using var fw = await Flawright.LaunchAsync(new LaunchOptions
{
ApplicationPath = "notepad.exe"
});
var page = await fw.Browser.NewPageAsync();
await page.FillAsync("#RichEditBox", "Hello from Flawright!");
await page.Locator("#RichEditBox").Expect().ToBeVisibleAsync();
Documentation
- Getting Started — install, prerequisites, first test
- Selectors — full selector grammar and gotchas
- Auto-waiting — how Flawright waits for elements
- Assertions —
Expect()chain reference - Examples — worked examples: Calculator, Notepad, File Explorer, installer wizard
- BDD with Reqnroll — Gherkin/BDD testing with the
Flawright.Reqnrollcompanion package - Troubleshooting — common failure modes and fixes
- API Reference — auto-generated from XML doc comments