Retrieves a CSS style attribute from an element (by name).
- name (String)
- The name of the style.
The value of the CSS style attribute.
| Exception | Condition |
|---|---|
| ActionFailedException | Thrown if invoking the action failed. |
![]() | Ranorex Documentation GetStyle Method (name) Namespaces ► Ranorex ► WebElement ► GetStyle(String) |
| Exception | Condition |
|---|---|
| ActionFailedException | Thrown if invoking the action failed. |