View Source Improve this doc

elementIdLocationInView

Determine an element’s location on the screen once it has been scrolled into view.

Note: This is considered an internal command and should only be used to determine an element’s location for correctly generating native events.

Depcrecated command, please use elementIdRect.

Usage

1
browser.elementIdLocationInView(ID);

Parameters

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