Recaptcha v2
Example of a v2 recapctha
Last updated
Example of a v2 recapctha
Last updated
This object depends on the "Open Browser" object to work..
Field | Descriptive |
Title | Object title |
Select Browser Object | Option to select a browser opened with the "Open Browser" object |
Recaptcha v2 | Select the recaptcha type as v2 |
Callback js | Callback js after the solving of the v2 captcha |
Object Identifier Name | Unique name for this object (variable) |
2 captcha | Provider "2 captcha" for the captcha solution |
Anticaptcha | Provider "Anticaptcha" for the captcha solution |
Timeout | Timeout for the captcha solution |
Synchronous execution? | Defines whether the execution should wait for the solution before continuing |
Stop execution if something goes wrong while searching for the element | This operation pauses robot execution if an error while searching for the element |
To solve a recaptcha v2, a few steps must be followed:
1 - Select the "Open Browser" object from the "Internet" menu and drag it to your working area.
First you must define an unique name for the object in the "Object Identifier Name" field, select a browser and enter the website to be accessed in the "Web Page Address" field:
As per the image above, we will use the Sintegra AM website for this tutorial:
2 - On this site, before requesting the captcha solution, it is necessary to fill in the CNPJ. To do this, we will use the "Search Elements" object, which is also available in the "Internet" menu.
First the main object should be informed, in this case, the browser opened with the "Open Browser" object. Then we must inform the xpath of the CNPJ field and in "Actions on Elements" select the option "TYPE" and then inform as text the CNPJ number. (See how to search the xpath of elements manually, by clicking HERE).
Next, it is necessary to search for the object's frame:
With the required information, we will use the "Solve Captcha" object by selecting the "RECAPTCHA V2" option:
To finish this operation we must search for the "Search" button:
3 - The working area will look like this: