MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / getCssValue

Method getCssValue

java/src/org/openqa/selenium/WebElement.java:334–334  ·  view source on GitHub ↗

Get the value of a given CSS property. Color values could be returned as rgba or rgb strings. This depends on whether the browser omits the implicit opacity value or not. For example if the "background-color" property is set as "green" in the HTML source, the returned value could be "rgba(0, 255

(String propertyName)

Source from the content-addressed store, hash-verified

332 * @return The current, computed value of the property.
333 */
334 String getCssValue(String propertyName);
335}

Implementers 2

RemoteWebElementjava/src/org/openqa/selenium/remote/Re
WrappedWebElementjava/test/org/openqa/selenium/WrappedW

Calls

no outgoing calls