C# Class Selenol.Elements.ElementStyles

The element styles.
Afficher le fichier Open project: pbakshy/Selenol Class Usage Examples

Méthodes publiques

Méthode Description
ElementStyles ( IWebElement webElement ) : System

Initializes a new instance of the ElementStyles class.

GetStyle ( string styleName ) : string

Gets a style of the element.

If the style does not exist empty string will be returned.

Private Methods

Méthode Description
ParseColor ( string styleName ) : Color
ParseInteger ( string value, bool allowHex = true ) : int

Method Details

ElementStyles() public méthode

Initializes a new instance of the ElementStyles class.
public ElementStyles ( IWebElement webElement ) : System
webElement IWebElement The web element.
Résultat System

GetStyle() public méthode

Gets a style of the element.
If the style does not exist empty string will be returned.
public GetStyle ( string styleName ) : string
styleName string The style name.
Résultat string