Skip to content

leeaa/winappdriver

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

WinAppDriver - WebDriver for Windows Applications

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:

  1. Download the installer and execute it. A desktop shortcut will be created for launching WinAppDriver Server.

  2. 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:

##Documentation

In addition to wiki, Here are some documents/slides:

##License

WinAppDriver is licensed under MIT. Refer to LICENSE for more information.

About

WebDriver for Windows Applications

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 94.7%
  • SQLPL 3.1%
  • PowerShell 2.2%