verify the specific position of an web element selenium code example
Example: how to verify position of an element in selenium
WebElement class has a get Location method with returns the top
left corner of the element
element.getLocation();