Returns the size of the element by a object with w and h fields.
<Object> getSize()
Object with element size with a w and h field.