elementIdName
Query for an element’s tag name.
Usage
1 | browser.elementIdName(ID); |
Parameters
Param | Type | Details |
---|---|---|
ID | String | ID of a WebElement JSON object to route the command to |
Returns
- <String>: the element’s tag name, as a lowercase string
Query for an element’s tag name.
1 | browser.elementIdName(ID); |
Param | Type | Details |
---|---|---|
ID | String | ID of a WebElement JSON object to route the command to |