// Move mouse by x,y
actionBuilder.moveByOffset(100, 100).build().perform();
// Move mouse on a given element
actionBuilder.moveToElement(d.findElement(By.id("logo_homepage_link"))).build().perform();
// Move mouse on a given element, by x,y relative coordinates
actionBuilder.moveToElement(d.findElement(By.id("logo_homepage_link")), 50, 50).build().perform();
}
@Test
public void clickAndRightClick() {
WebDriver d = getDriver();