Generally, elements within an HTML <canvas> tag cannot be recognized.
However, the following two workarounds are available:
1. Using the Click specified position command
Use the "Click specified position" command on the captured UI element. By specifying the coordinates of the element within the canvas, you can perform general actions such as "click the center" or "click the bottom right corner." Additionally, you can specify click positions using coordinates (e.g., (x:10%, y:10%)), but you will have to manually calculate the coordinates.
2. Using an AI locator
For elements like buttons with specific captions, use an ai locator that utilizes text recognition to identify these elements. However, this method tends to be less stable on canvas compared to using it on regular web pages.
The above methods allow you to operate elements within the canvas to some extent, but some precise specifications and advanced operations may still prove challenging.