Elements inside an HTML <canvas> tag cannot be directly recognized. However, the following workarounds can be used.
1. Using the Click Specified Position Command
You can use the "Click specified position" command on the captured UI element. By specifying the coordinates within the canvas, you can perform actions such as clicking the center or the bottom right corner. You can also define click positions using percentage-based coordinates (e.g., x:10%, y:10%), but you will need to calculate them manually.
2. Using an AI Locator
For elements like buttons with specific captions, you can use an AI locator that utilizes text recognition to identify elements within the canvas. However, this method may be less stable than on standard web pages.
While these methods enable some level of interaction with elements inside a canvas, advanced operations and precise interactions may still be challenging.