'Returns width and height of element identified by `locator`.
The element width and height is returned.
Fails if a matching element is not found.'

@keyword
def get_element_size(self, locator):

    element = self.find_element(locator)
    return (element.size['width'], element.size['height'])
