C# Class Selenol.SelectorAttributes.CssAttribute

The CSS selector attribute. Can be used for dynamic selection of elements or controls using CSS selectors. 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
Mostra file Open project: pbakshy/Selenol

Public Methods

Method Description
CssAttribute ( string cssSelector ) : System.Collections.ObjectModel

Initializes a new instance of the CssAttribute class.

Method Details

CssAttribute() public method

Initializes a new instance of the CssAttribute class.
public CssAttribute ( string cssSelector ) : System.Collections.ObjectModel
cssSelector string The CSS selector.
return System.Collections.ObjectModel