<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_element_size(self, locator):

 """Get element size
 
 Key attributes for arbitrary elements are `id` and `name`. See
 `introduction` for details about locating elements.
 """

        element = self._element_find(locator, True, True)
        element_size = element.size
        self._info("Element '%s' size: %s " % (locator, element_size))
        return element_size