DBC: reCAPTCHA v2 Checkbox
Description
Use the step to get the token to solve reCAPTCHA v2 Checkbox.
Reference
How to use token to solve reCAPTCHA.
Note:
To solve reCAPTCHA, pass the token text received in response, to an Inject JavaScript step to complete action of handling the output token to process reCAPTCHA.
Configurations
Field name | Description |
---|---|
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 with Checkbox 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. |
Retry If DBC Service Is Temporarily Unavailable | |
Max Retry Count | Specify the max retry count. 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 v3 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 → perform Action specified in the Input Tab. |