![GitHub license](https://img.shields.io/badge/license-MPL 2.0-blue.svg?style=flat-square)
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.
-
Add reference to
Winium.Elements.Desktop
in UI test project (install NuGet package). -
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);
Winium.Elements extends OpenQA.Selenium bindings adding Winium.Desktop driver commands.
Contributions are welcome!
- Check for open issues or open a fresh issue to start a discussion around a feature idea or a bug.
- Fork the repository to start making your changes to the master branch (or branch off of it).
- We recommend to write a test which shows that the bug was fixed or that the feature works as expected.
- Send a pull request and bug the maintainer until it gets merged and published. 😃
Have some questions? Found a bug? Create new issue
Winium is released under the MPL 2.0 license. See LICENSE for details.