Hi, thank you for your programm My Question is: I would like to click a button by identifying its coordinates, and instructing Kantu to click at those coordinates. How do I do that?
Thanks
Hi, thank you for your programm My Question is: I would like to click a button by identifying its coordinates, and instructing Kantu to click at those coordinates. How do I do that?
Thanks
You get the coordinates with the visionFind image search command. It returns x/y of the center of the image in the !imageX and !imageY internal vars.
Once you have that, you can use
Click | #efp
#efp is the short form for using elementFromPoint.
Instead of clicking at the element at that point, can I click exactly on that point irrespective of what element is there?
That is what the combination of
does. First it finds the image, and gets its x/y coordiantes. Then it identifies the element โbelowโ these x/y (using elementFromPoint) and then it clicks it.
Kantu (as any browser extension) operates on the website DOM. It can only send clicks to elements, not to the page in general. If you want or need the ability to send clicks to any point (= simulate real mouseclicks) you can use KantuX.
I wish I could use KantuX but itโs not available for Mac
We have already plans for it
If you are interested in seeing a version of KantuX for macOS please sign up to Kantu for Mac.