View Source Improve this doc

elementIdSize

Determine an element’s size in pixels. The size will be returned as a JSON object with width and height properties.

Depcrecated command, please use elementIdRect.

Usage

1
browser.elementIdSize(ID);

Parameters

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