DBC: reCAPTCHA v3
Description
Use the step to get the token to solve reCAPTCHA v3.
Notes:
- How to use token to solve reCAPTCHA.
- To solve reCAPTCHA using plugin step pass the Token Text received in response to - Inject JavaScript step and complete action.
Configurations
Field name | Description |
---|---|
Step name | Specify a unique name for the step. |
DB ACCOUNT DETAILS | |
URL | Displays the URL of the REST API of your DBC account. |
Username | Specify the username of your DBC account. |
Password | |
Accept value as variable/static | Specify or select the password, as required. If the Accept Value as variable/static checkbox is selected, then the password field appears as a text box and accepts static or variable values. OR If the Accept Value as variable/static checkbox is clear, then the password field appears as a dropdown in which you can select a field from the previous steps. |
INPUT tab: | Input Fields |
Page URL | Specify URL of the page on which the reCAPTCHA is to be resolved. The data type of the field is String and is mandatory. |
Site Key | Site Key is a web-based security system, which provides a type of mutual authentication between end-users and websites. The primary purpose of the key is to deter phishing. Specify the site key. The data type of the field is String and is mandatory. Note: Fetch the data-sitekey or sitekey from page source by right clicking on web page and clicking to view page source. |
Action | The action parameter at reCAPTCHA v3 is additional data used to separate different CAPTCHA validations like login, register, sales, and so on. The data type of the field is String and the field is mandatory. Specify the action parameter. Action value can be obtained from page source. It is the Action associated with the data-sitekey/sitekey. |
Min. Score | Specify the minimal score needed for the CAPTCHA resolution. We recommend using the 0.3 min-score value, scores higher than 0.3 are hard to get. The data type of the field is String and the field is mandatory. |
Retry If DBC Service Is Temporarily Unavailable | |
Max Retry Count | Specify the max retry count. The Max Retry Count is used for: * When the DBC service is temporarily unavailable. * When API fails to retrieve the output,that is, token text. If the value is not provided or less than 10, then it will retry for maximum 10 times internally. The data type of the field is Integer and the field is optional. The default value is 10. |
Retry Interval (Seconds) | Specify the retry time interval in seconds between every retry attempt (Polling repeat interval) in case DBC server is temporarily unavailable or CAPTCHA is not resolved. The data type is integer. The default value is 2. Notes: * If in the first attempt, the API fails to retrieve the CAPTCHA text, that is, the result returned by the API is blank, then it will internally retry polling for maximum of 10 times after every specified interval in seconds until it gets the CAPTCHA text. * The minimum retry interval must not be less than 2 seconds. |
OUTPUT tab: | Token Text: |
Token Text | Specify an output field to hold the retrieved token text on successful plugin execution. Default label value is TokenText. Steps to handle Token Text to resolve reCAPTCHA with Checkbox: In the following JavaScript code substitute <'Paste string here'> with the Token Text.
* You need to right click the Page URL and click Inspect. * On the Inspect page navigate to the Console tab and paste the code and press Enter. The CAPTCHA checkbox becomes available. However, as the activity is manual, you may create a workflow to automate the activity as mentioned in the next point. Automation: After the reCAPTCHA v2 Checkbox step in the workflow you may put: A single Plugin step → Inject JavaScript with the previous JavaScript in an Inject JavaScript step Or A combination of RPA Plugin steps to right click and inspect the page → set the JavaScript code above as a variable in Modified Java Script step → Web Set Value on console and → Press Enter with Robot Handling step. |