We have an application in which there is a canvas element. Inside that canvas element, there are lots of elements like boxes, arrows line etc. which we need to interact like clicking , dragging etc.
Is there any way to access the elements inside the Canvas element using Selenium Webdriver ?
Basically this is the only thing which I can see in the DOM if I inspect that Canvas element using developer tool
<canvas id="canvas1" tabindex="0" width="988" height="225" class="infa-canvas infa-graphical-canvas infa-template-canvas"></canvas>
I have been trying to google it out but unable to find any concrete answer. Some suggested to interact with those element on the basis of Coordinate which I don't want to. Also I was looking at this video https://www.youtube.com/watch?v=yugolxP3rhc where it recommended to talk to development team for some kind of hooks but I can't talk to developers as they belong to different company and are not approachable..
Any help is highly appreciated. Thanks.