I have to test a case where using an option given on toolbar I can add sticky note to the image. I am able to perform this but the stickynote disappears after click command in selenium code get executed.
driver.findElement(By.xpath("//*[@id=\"ci-tool-top\"]/div/div[5]/div[2]/div/div/div[1]/button[5]")).click(); // Command to select note from toolbar
Actions builder = new Actions(driver);
builder.moveByOffset(528, 421).clickAndHold().build().perform(); //Command to click on image so that note sticks on it
builder.click(toolbarNoteElement).moveToElement(imageElement).click().perform();
Can you provide some html for the image? It's probably worth figuring out a selector for that, which I could help with and that might help solve this issue. – mrfreester Aug 1 '17 at 15:23