View Source Improve this doc

elementIdAttribute

Get the value of an element’s attribute.

Usage

1
browser.elementIdAttribute(ID,attributeName);

Parameters

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