Getting Started
System Requirements¶
There are three primary requirements to use the WinCore driver:
- Windows host machine (see Target Platforms)
- Node.js
^22.22.2,^24.15.0or>=26.0.0 - Appium
The application under test must run on the same machine as the Appium server, in an interactive desktop session: UI Automation and input synthesis need a live, unlocked desktop.
Appium Server¶
Make sure to install a version of Appium that supports your target driver version. The requirements and prerequisites of Appium itself can be found in the Appium documentation.
| WinCore driver version | Supported Appium server version |
|---|---|
| >= 4.0.0 | Appium 4 |
| < 4.0.0 | Appium 3 |
Installation¶
Provided you have set up the above prerequisites, you can install the driver using Appium's extension CLI:
You can also specify an exact driver version:
Alternatively, if you are running a Node.js project, you can include appium-wincore-driver as one
of your project dependencies. Refer to the Appium documentation
for more information about this approach.
Verify the Installation¶
In order to check that the driver was installed correctly, simply launch the Appium server:
The server log output should include a line like the following:
By default the server listens on http://127.0.0.1:4723.
Creating a Session¶
The WinCore driver, like all Appium drivers, requires providing specific capabilities in order to start a new session. The following example lists the minimum required capabilities for a basic session:
// This will start a session that launches Windows Calculator
{
"platformName": "Windows",
"appium:automationName": "Wincore",
"appium:app": "Microsoft.WindowsCalculator_8wekyb3d8bbwe!App"
}
appium:app accepts an .exe path, a UWP application user
model ID (as above), or Root to attach to the whole desktop. To attach to a window that is already
open instead, use appium:appTopLevelWindow.
See the Capabilities reference page for more information on the capabilities supported by the driver, and the Examples guide for complete tests in several client languages.
Coming from appium-windows-driver?
The migration guide lists what to change in existing test suites.