Text Click CAPTCHA
Command description
Recognizes text-click CAPTCHAs in image files, web elements, or desktop elements. The image must include the text-click prompt, as shown below:
Command Input Parameters
| input parameters | Input parameter type | Description |
|---|---|---|
| Image Source | enum | Local File, Desktop Element, Web Element |
| Image Path | str | Full path to the local image; required when Image Source is Local File |
| Desktop Element | WinElement or str (captured element UID, not element name, not ms-rpa-id) | Desktop element to analyze; required when Image Source is Desktop Element. Select a captured element or one returned by Get Desktop Element, Get Related Desktop Elements, or Get Similar Desktop Elements. |
| Webpage Object | WebPage | Webpage containing the element; required when Image Source is Web Element |
| Web Element | WebElement or str (captured element UID, not element name, not ms-rpa-id) | Web element to analyze; required when Image Source is Web Element. Select a captured element or one returned by Get Web Element, Get Similar Web Elements, or Get Related Web Elements. |
Command Output Parameters
| Output parameters | Output parameter type | Description |
|---|---|---|
| Recognition Result | list[Coordinate] | Coordinates of the points to click |
Type definition reference
-
Coordinate type definition
class Coordinate:
@property
def x(self):
pass
@property
def y(self):
pass
Example
When clicking the recognized points on a webpage, add the target element's coordinates to the returned coordinates.