'Click element identified by `locator` at x/y coordinates of the element.
Cursor is moved and the center of the element and x/y coordinates are
calculted from that point.
Key attributes for arbitrary elements are `id` and `name`. See
`introduction` for details about locating elements.'

@keyword
def click_element_at_coordinates(self, locator, xoffset, yoffset):

    self.info(("Click    clicking    element    '%s'    in    coordinates    '%s',    '%s'." % (locator, xoffset, yoffset)))
    element = self.find_element(locator)
    action = ActionChains(self.browser)
    action.move_to_element(element)
    action.move_by_offset(xoffset, yoffset)
    action.click()
    action.perform()
