WinAppDriver is a WebDriver implementation for Windows applications, including desktop applications and universal apps (formerly known as store apps, modern UI apps, or Metro-style apps). Support of CEF-based desktop applications and Windows Phone apps is also planned.
Give it a try, and your feeback is appreciated.
##Getting Started
###Install WinAppDriver:
-
Download the installer and execute it. A desktop shortcut will be created for launching WinAppDriver Server.
-
Launch the server, and it listens on port 4444 on all addresses.
Then you can control the application under test (or even whole desktop) with any WebDriver language bindings you prefer. Several desired capabilities could be used to how the server behaves for a specific session.
###Quick Start
Take whole desktop as an example:
(Python)
from selenium.webdriver import Remote, DesiredCapabilities
desired_caps = {}
driver = Remote('http://your-winappdriver-server:4444/wd/hub', desired_caps)
driver.find_element_by_id('username').send_keys('your-username')
driver.find_element_by_id('password').send_keys('your-password')
driver.find_element_by_id('signin').click()
TBD: C#, Java, Ruby
Here are other scenarios supported by WinAppDriver:
- Whole Desktop (for more details)
- Desktop Applications (already installed?)
- Universal Apps (already installed?)
##Documentation
In addition to wiki, Here are some documents/slides:
##License
WinAppDriver is licensed under MIT. Refer to LICENSE for more information.