Skip to main content

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 parametersInput parameter typeDescription
Image SourceenumLocal File, Desktop Element, Web Element
Image PathstrFull path to the local image; required when Image Source is Local File
Desktop ElementWinElement 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 ObjectWebPageWebpage containing the element; required when Image Source is Web Element
Web ElementWebElement 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 parametersOutput parameter typeDescription
Recognition Resultlist[Coordinate]Coordinates of the points to click

Type definition reference

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.