winappdriver
БесплатноБез исполняемых скриптовНе проверенUse when a native Windows app (UWP, WPF, WinForms, Win32) must be driven from a Selenium-style client in C#, Java, Python, Ruby or JS: WinAppDriver directly…
от testland★ 18 звёзд на GitHubОб этом скилле
winappdriver
Overview
Per the WinAppDriver repository:
"Windows Application Driver (WinAppDriver) is a service to support Selenium-like UI Test Automation on Windows Applications."
WinAppDriver exposes Microsoft UI Automation (UIA) - the Windows
accessibility tree described in
desktop-test-strategy-reference - behind a W3C-WebDriver-compatible HTTP endpoint. Per
wad, it supports four application classes on Windows 10:
"Universal Windows Platform (UWP)", "Windows Forms (WinForms)",
"Windows Presentation Foundation (WPF)", and "Classic Windows (Win32)
apps".
The same UIA surface has two invocation paths: talking to the
Microsoft-maintained WinAppDriver.exe service directly from a Selenium
client, or going through the Appium ecosystem's actively-maintained Node.js
proxy that sits in front of it and adds gestures, multi-window helpers, and
PowerShell hooks. This skill covers both - the direct path in the sections
below, the Appium path in "Invoking via Appium". Go direct when no Appium
(or Node.js) install is wanted on the test host; go via Appium when the
project already runs Appium for other platforms.
When to use
- Native Windows desktop app under test - UWP, WPF, WinForms, or Win32 (wad).
- Selenium-style client already in the project (C#
WindowsDriver<T>, JavaWindowsDriver, Pythonwebdriver-windows). - Tests must drive system-installed apps (Notepad, Calculator,
Settings) -
appcapability accepts an executable path or UWP application family name (wadauth). - Direct-to-
WinAppDriver.exeis required (no Appium installation permitted on the test host).
For Qt-on-Windows out-of-process tests, this is the recommended
driver per
desktop-test-strategy-reference;
the Qt application must publish a usable QAccessible tree.
How to use
- Install WinAppDriver and enable Developer Mode on a Windows 10/11 machine (Install + enable).
- Launch
WinAppDriver.exeon the default127.0.0.1:4723endpoint (Launch the service). - Declare
app/platformName/appArguments/appTopLevelWindowcapabilities for the app under test (Declare session capabilities). - Author a Selenium-style test that resolves an element by
AccessibilityId(UIAAutomationId) and drives it end to end (Worked example). The full locator-strategy table,Inspect.exediscovery, and attach-to-running-window path live in references/locators-and-ci.md. - Run on a Windows CI runner and parse TRX / JUnit results (feeds
junit-xml-analysis) - full workflow in references/locators-and-ci.md.
Install + enable
Per wad:
- Windows 10 machine with the application under test installed.
- Enable Developer Mode - Settings → Update & Security → For developers → Developer mode (wad).
- Administrator privileges are required to run on a custom
IP / port (wad); default
127.0.0.1:4723runs as a normal user.
Download the latest WinAppDriver installer from the
releases page (latest stable per wad: v1.2.1, published
2020-11-05) and run it on the test machine. The installer drops
WinAppDriver.exe under C:\Program Files (x86)\Windows Application Driver\.
Launch the service
Per wad, launch on the default endpoint:
:: Default - 127.0.0.1:4723
"C:\Program Files (x86)\Windows Application Driver\WinAppDriver.exe"
The service prints Press ENTER to exit. and listens for incoming
W3C-WebDriver session requests. Custom IP / port / URL-prefix bindings
(which require an admin shell) are in
references/locators-and-ci.md.
Declare session capabilities
Per the WinAppDriver authoring guide:
| Capability | Purpose |
|---|---|
app |
Application identifier (UWP family name) or full executable path (wadauth) |
appArguments |
Launch arguments string (wadauth) |
appWorkingDir |
Working directory for classic Win32 apps (wadauth) |
appTopLevelWindow |
Hexadecimal handle of an existing window to attach to (wadauth) |
platformName |
Target platform - set to Windows |
platformVersion |
Platform version string |
Per wadauth, the UWP Application Id appears in the
generated AppX\vs.appxrecipe file under the RegisteredUserModeAppID
node (example shape:
c24c8163-548e-4b84-a466-530178fc0580_scyf5npe3hv32!App).
Worked example
Drive one element end to end - launch Notepad, locate its editor by
AccessibilityId, type into it, and close the session (C# client). The
canonical example from wadauth:
using System;
using OpenQA.Selenium.Appium.Windows;
using OpenQA.Selenium.Remote;
var capabilities = new AppiumOptions();
capabilities.AddAdditionalCapa
Установить winappdriver в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл winappdriver?
Use when a native Windows app (UWP, WPF, WinForms, Win32) must be driven from a Selenium-style client in C#, Java, Python, Ruby or JS: WinAppDriver directly or through the Appium 2 Windows driver, capabilities, AccessibilityId and Name locators, and Windows CI runners. C#-only: flaui-tests.
Как установить скилл winappdriver?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл winappdriver запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
ci-review
The scan that the plugin's GitHub Action runs.
от Anthropicazure-static-web-apps
Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
от GitHubai-ready
Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
от GitHubaws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…
от GitHub