title: How to click on a specific position of a web element in selenium?
body: <p>I am working on video player automation. I am having difficulties in clicking at the end of the video player progress bar.<br>
  Consider an example of youtube video.
  with the help of xpath i was able to find out the element of video progress bar. Now i wanted to click at the end of the video.</p>
  
  <p>i tried using <strong><em>moveToElement(ele, xOffset, yOffset)</em></strong>. But i can not have static offset here as the video player size depends on the browser window size.  I tried to get the size of web element and use it as xoffset but that did not seem to be working. <strong><em>moveToElement(ele, ele.getRect().getWidth()-10, yOffset)</em></strong>.  Any suggestions here on how to achieve this? </p>