Skip to content

Winium.Elements is a set of extensions for WebDriver Clients Bindings providing easy-to-use way of interacting with desktop-specific UI elements in Windows Desktop apps tested with Winium.Desktop.

License

Notifications You must be signed in to change notification settings

ssratkevich/Winium.Elements

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Winium.Elements

Build Status ![GitHub license](https://img.shields.io/badge/license-MPL 2.0-blue.svg?style=flat-square)

Winium.Elements is a set of extensions for WebDriver C# bindings providing easy-to-use way of interacting with desktop-specific UI elements in Windows Desktop apps tested with Winium.Desktop

This is a set of extensions for WebDriver Clients Bindings providing easy-to-use way of interacting with desktop-specific UI elements in Windows Desktop apps tested with Winium.Desktop.

With the help of Winium.Elements you could simplify interaction with such complex elements like DataGrid, ComboBox, Menu and etc.

Quick Start (.NET example)

  1. Add reference to Winium.Elements.Desktop in UI test project (install NuGet package).

  2. Find element and convert it to [ElementType] using To[ElementType] method.

    var element = driver.FindElementById("data_grid");
    var dataGrid = element.ToDataGrid();

    Use element specific extension methods, for example:

    var cell = dataGrid.Find(1, 1);
    Assert.AreEqual("expected cell text", cell.Text);

Read more...

How it works

Winium.Elements extends OpenQA.Selenium bindings adding Winium.Desktop driver commands.

Contributing

Contributions are welcome!

  1. Check for open issues or open a fresh issue to start a discussion around a feature idea or a bug.
  2. Fork the repository to start making your changes to the master branch (or branch off of it).
  3. We recommend to write a test which shows that the bug was fixed or that the feature works as expected.
  4. Send a pull request and bug the maintainer until it gets merged and published. 😃

Contact

Have some questions? Found a bug? Create new issue

License

Winium is released under the MPL 2.0 license. See LICENSE for details.

About

Winium.Elements is a set of extensions for WebDriver Clients Bindings providing easy-to-use way of interacting with desktop-specific UI elements in Windows Desktop apps tested with Winium.Desktop.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 51.9%
  • Java 33.5%
  • PowerShell 14.6%