We have webmapping field in our website, we use Leaflet Js for implementing this. So for the testing, users can draw a delimitation on the map. We don’t find how to manage drawing with Selenium webdrive (and Katalon Studio).
I think it’s the same case for drawing an a canvas. Holding the left click button and moving the mouse pointer!