WebElementCssValue Method
Returns the value of a CSS property

Namespace: Selenium
Assembly: Selenium (in Selenium.dll) Version: 2.0.9.0 (2.0.9.0)
Syntax
VB Usage
Dim instance As WebElement
Dim property As String
Dim returnValue As Object

returnValue = instance.CssValue(property)

Parameters

property
Type: SystemString
Property name

Return Value

Type: Object
CSS value
See Also