View Source Improve this doc

elementIdText

Returns the visible text for the element.

Usage

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