code: public Rectangle getBoundingClientRect(final By by) {
  		WebElement el = findElement(by);
  
  		@SuppressWarnings("unchecked")
  		Map<String, Number> result = (Map<String, Number>) executeScript(JS_GET_BOUNDING_CLIENT_RECT, el);
  		Rectangle rectangle = new Rectangle(result.get("top").intValue(), result.get("left").intValue(),
  			result.get("bottom").intValue(), result.get("right").intValue(), result.get("width").intValue(),
  			result.get("height").intValue());
  
  		LOGGER.info("Bounding client rect for {}: {}", by, rectangle);
  		return rectangle;
  	}
docs: Returns the size of an element and its position relative to the viewport. Uses JavaScript
  calling Element.getBoundingClientRect().
  
  @param by
  the {@link By} used to locate the element
  @return the rectangle