elementIdCssProperty

Query the value of an element’s computed CSS property. The CSS property to query should be specified using the CSS property name, not the JavaScript property name (e.g. background-color instead of backgroundColor).

Usage

1
client.elementIdCssProperty(ID,cssPropertyName).then(callback);

Parameters

Param Type Details
ID String ID of a WebElement JSON object to route the command to
cssPropertyName String CSS property