A dictionary with the size and location of the element.

def rect(self):
        """A dictionary with the size and location of the element."""
        if self._w3c:
            return self._execute(Command.GET_ELEMENT_RECT)['value']
        else:
            rect = self.size.copy()
            rect.update(self.location)
            return rect