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