Skip to content

Patrol for windows PoC - #3183

Draft
Polyphemus980 wants to merge 12 commits into
masterfrom
feat/patrol-windows-POC
Draft

Patrol for windows PoC#3183
Polyphemus980 wants to merge 12 commits into
masterfrom
feat/patrol-windows-POC

Conversation

@Polyphemus980

Copy link
Copy Markdown
Contributor

Summary

Experimental Windows support for Patrol: an out-of-process C# sidecar (windows_runner) that drives OS-level UI via FlaUI/UIA3, wired through CLI + Dart.

What’s included

  • packages/patrol/windows_runner/ — .NET sidecar on port 8081: launches the Flutter Windows app, talks to PatrolAppService on 8082, orchestrates multi-test runs
  • $.platform.windows — Dart automator: tap / doubleTap / tapAt, finders (name / automationId / className / index), waitUntilVisible, enterText, pressKey, launchApp / activateApp
  • patrol_cliTargetPlatform.windows, WindowsTestBackend, resolve runner from package config (same idea as web)
  • dev/windows_poc/ — demo Flutter app, WinForms fixture, Explorer demo tests, README + NATIVE_STACK.md (C# vs C++ and packaging options)

Open decisions

  • C# + FlaUI vs C++ UIA — velocity vs toolchain/size; see NATIVE_STACK.md
  • Distribution — not settled (build-from-source like web_runner/npm install, framework-dependent + .NET runtime, or self-contained ~80 MB download). Self-contained binary is not embedded in the pub package.

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

@github-actions github-actions Bot added package: patrol Related to the patrol package (native automation, test bundling) package: patrol_cli Related to the patrol_cli package labels Jul 22, 2026
@Polyphemus980
Polyphemus980 marked this pull request as draft July 22, 2026 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package: patrol_cli Related to the patrol_cli package package: patrol Related to the patrol package (native automation, test bundling)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant