elementIdSize
Determine an element’s size in pixels. The size will be returned as a JSON object
with width and height properties.
This command is deprecated and will be removed soon. Make sure you don’t use it in your
automation/test scripts anymore to avoid errors. Please use the
elementIdRect command instead.
Usage
| 1
 | browser.elementIdSize(ID);
 | 
Parameters
| Param | Type | Details | 
| ID | String | ID of a WebElement JSON object to route the command to | 
Returns
- <Object>: The width and height of the element, in pixels ({width:number, height:number})