C# Class Selenol.SelectorAttributes.NameAttribute

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

Public Methods

Method Description
NameAttribute ( string name ) : System.Collections.ObjectModel

Initializes a new instance of the NameAttribute class.

Method Details

NameAttribute() public method

Initializes a new instance of the NameAttribute class.
public NameAttribute ( string name ) : System.Collections.ObjectModel
name string The name attribute selector.
return System.Collections.ObjectModel