title: Checking position of elements in Selenium WebDriver using Java
body: <p>I would like to check the position of the elements on a web application on which I am working on. It's a stable application so the positions won't change so much. After searching on the internet I've found this method:</p>
  <blockquote>
  <p><code>Point getLocation()</code></p>
  <p>Where on the page is the top left-hand corner of the rendered element?</p>
  <p>Returns: A point, containing the location of the top left-hand corner of the element</p>
  </blockquote>
  <p>After playing a little bit with it I realized that the position depends on the window size and screen resolution (though I read it somewhere I still checked it just to make sure it's true).</p>
  <p>Is there another way? I have a lot of elements so it will be tricky to just store some values depending on a set of resolutions and window dimensions.That would be a lot of work.</p>
  <p>In the end nothing beats manual testing when it comes to visual stuff :D</p>