node package manager
Painless code sharing. npm Orgs help your team discover, share, and reuse code. Create a free org ยป

appium-windows-driver

Appium Windows Driver

Appium Windows Driver is a test automation tool for Windows devices. Appium Windows Driver automates UWP apps on Windows 10. In the future it will automate other kinds of native, hybrid and mobile web apps on Windows 10 and Windows 10 mobile simulators and real devices. Appium Windows Driver is part of the Appium mobile test automation tool.

Installation

npm install appium-windows-driver

Usage

Import Windows Driver, set desired capabilities and create a session:

import { WindowsDriver } from `appium-windows-driver`

let defaultCaps = {
  app: 'your.app.id',
  platformName: 'Windows'
};

let driver = new WindowsDriver();
await driver.createSession(defaultCaps);

Watch code for changes, re-transpile and run unit tests:

gulp

Test

You can run unit and e2e tests:

// unit tests:
gulp once

// e2e tests
gulp e2e-test