View Source Improve this doc

elementIdProperty

Get the value of an element’s property.

Usage

1
browser.elementIdProperty(ID,propertyName);

Parameters

Param Type Details
ID String ID of a WebElement JSON object to route the command to
propertyName String property name of element you want to receive

Returns

  • <String/null>: The value of the property, or null if it is not set on the element.