Click on Element with reference to another Element

element
autoit
rpa
mouse-click

#1

If you need to click on an element but cannot reference it use the following;

WebElement ref =sDriver.findElement(By.cssSelector("[NAME:ReferenceElement]"));
Actions action=new Actions(sDriver);
action.moveToElement(ref,100,100).click().perform();

The above code will result in a click 100px down and right from the reference element ref.