C# Class Selenol.SelectorAttributes.TagNameAttribute

The Tag Name selector attribute. Can be used for dynamic selection of elements or controls by the tag 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
ファイルを表示 Open project: pbakshy/Selenol

Public Methods

Method Description
TagNameAttribute ( string tagName ) : System.Collections.ObjectModel

Initializes a new instance of the TagNameAttribute class.

Method Details

TagNameAttribute() public method

Initializes a new instance of the TagNameAttribute class.
public TagNameAttribute ( string tagName ) : System.Collections.ObjectModel
tagName string The tag name.
return System.Collections.ObjectModel