C# Class Selenol.SelectorAttributes.IdAttribute

The Id selector attribute. Can be used for dynamic selection of elements or controls by their Id. 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
Datei anzeigen Open project: pbakshy/Selenol

Public Methods

Method Description
IdAttribute ( string id ) : System.Collections.ObjectModel

Initializes a new instance of the IdAttribute class.

Method Details

IdAttribute() public method

Initializes a new instance of the IdAttribute class.
public IdAttribute ( string id ) : System.Collections.ObjectModel
id string The Id.
return System.Collections.ObjectModel