I am using Webdriver framework in C# for my GUI tests.
I have got a short code:
Actions builder = new Actions(driver);
Action drawAction = builder.moveToElement(signatureWebElement, x, y)
.clickAndHold()
.moveByOffset(dest.x1, dest.y1)
.moveByOffset(dest.x2, dest.y2)
.release()
.build();
dragAction.perform();
I want to check that element exist on canvas or/and element has changed its position. For instance when I want to make a validation for each element that I remove or add such elements on canvas I can use only JavaScript? This canvas is wirrten by code AngularJS/PaperJS.
If you want to use Sikuli, I think Sikuli4Net is a good package.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.