Implement Element#getElementRect that returns a dictionary with location(x, y) from top left (0, 0) and size(height, width