Adding support for x and y location of an element in the page