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. |
Méthode | Description | |
---|---|---|
ParseColor ( string styleName ) : Color | ||
ParseInteger ( string value, bool allowHex = true ) : int |
public ElementStyles ( IWebElement webElement ) : System | ||
webElement | IWebElement | The web element. |
Résultat | System |
public GetStyle ( string styleName ) : string | ||
styleName | string | The style name. |
Résultat | string |