View Source Improve this doc

elementIdName

Query for an element’s tag name.

Usage

1
2
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