Solve captcha Version 1 (Java)
Action group "Browsers" , subgroup "Windows, tabs, frames"
Description
The action finds a captcha on the active browser tab and solves it:
- action searches for a captcha on the active browser page and solves it
- action can work with the following types of captcha: reCAPTCHA V2 and MTCaptcha
- ruCaptcha recognizes the captcha and returns the captcha solution to the action
Action icon
Parameters
Input parameters
Context - The context of the action for working with the browser
Captcha type - Type of captcha presented on the browser page
Timeout, ms - Time during which the captcha is expected to be recognized. Timeout is set in milliseconds
Settings
Property | Description | Type | Filling example | Mandatory field |
---|---|---|---|---|
Parameters | ||||
Context | The context of the action for working with the browser | Robin.Selenium | Yes | |
Captcha type | View of the captcha presented on the browser page The dropdown list consists of values:
| Yes | ||
Timeout, ms | Time in milliseconds during which the action tries to solve the captcha. Default value: 120000 ms The timeout includes only the time to solve the captcha If you specify -1, the action will wait indefinitely for the captcha to be solved
| Number | 20000 | No |
Types and examples of action work
reCaptcha V2
=>=> =>
MTCaptcha
https://rucaptcha.com/demo/mtcaptcha
=>
Special conditions of use
If there are 2 captchas on the page, only the first one will be solved
- The action does not click on the buttons in the data entry form, which has a captcha built in. The user needs to configure the entire form to be submitted separately
- When the captcha is solved, no visible solution result appears on the screen. The solution token is hidden, but when the entire form is submitted, the captcha will be considered passed
- If the user encounters the problem that the captcha is not found on the page, although he sees it when he opens the browser, you should add a wait time (increase the delay) before launching the action by a few seconds
- It is recommended to connect the "Solve captcha" action to the opened browser. If we use the "Open browser" action with "Solve captcha", the browser may close after solving the captcha
- Now the action solves the captcha, enters the solution in the hidden captcha field. The submit form button, if present, must be clicked by itself or by a separate browser action
Example of use
Task
There is an image with captcha, you need to recognize it.
Solution
Use the "Solve captcha" action.
Implementation
- To solve the problem, let's use the actions "Connect to an open browser", "Navigate" and "Solve captcha".
- Fill in the parameters for the "Connect to an open browser" action.
- Fill in the parameters of the "Navigate" action
- Fill in the parameters of the "Solve captcha" action.
- Click on the "Start" button in the top panel.
Result
The program robot worked successfully. The captcha content has been recognized.