Access CANVAS element

Hi,
I’m trying to access CANVAS element in our WEB application (React, Java) however it is not easy.
Robot only is able to select whole canvas element. In our case it is a map were are added some point and route.
Anyone is familiar about, how to access those element inside canvas element ?