C# Class Selenol.SelectorAttributes.ClassAttribute

The Class selector attribute. Can be used for dynamic selection of elements or controls by their class name. An Element must be derived from BaseHtmlElement or it can be a collection assignable from ReadOnlyCollection{T}. A Control must be derived from Control or it can be a collection assignable from ReadOnlyCollection{TControl}. And used as an auto-property of class derived from BasePage.
Inheritance: BaseSelectorAttribute
Mostrar archivo Open project: pbakshy/Selenol

Public Methods

Method Description
ClassAttribute ( string className ) : System.Collections.ObjectModel

Initializes a new instance of the ClassAttribute class.

Method Details

ClassAttribute() public method

Initializes a new instance of the ClassAttribute class.
public ClassAttribute ( string className ) : System.Collections.ObjectModel
className string The class Name.
return System.Collections.ObjectModel