Gets the value of a CSS property of this element.
Namespace: OpenQA.SeleniumAssembly: WebDriver (in WebDriver.dll) Version: 2.35.0.0 (2.35.0.0)
Syntax
Parameters
- propertyName
- Type:
System String
The name of the CSS property to get the value of.
Return Value
The value of the specified CSS property.Exceptions
Exception | Condition |
---|---|
OpenQA.Selenium StaleElementReferenceException | Thrown when the target element is no longer valid in the document DOM. |
Remarks
See Also