elementIdText

Returns the visible text for the element.

Usage

1
browser.elementIdText(ID);

Parameters

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

Returns

  • <String>: visible text for the element