An example of using iMacros and AntiCaptcha extensions to submit a captcha form

Code examples of iMacros extension for sending a form after AntiCaptcha plugin solves a captcha no matter if it's a reCAPTCHA 2 or a regular image captcha.

You see here a simple example of iMacros script for form submitting when a reCAPTCHA contained in this form is solved. For solving a captcha itself you only must to install our AntiCaptcha extension. An iMacros script below is only needed for form filling, for waiting when a captcha is solved and for pressing submit button.

The same way you can send a form after solving a regular image captcha including Solvemedia, VKontakte, etc.

You can read more about our extension possibilities on the homepage of our project or on the page Instructions for use of AntiCaptcha plugin.

This script fits for people who use a Chrome as well as a Firefox. For those who use an iMacros application with built-in Internet Explorer browser where you can't install our extension, we recommend to see a way to solve the reCAPTCHA 2 in the iMacros software.

The script is quite simple, iMacros users won't have any problems with understanding it, every line is well commented.

The key line is under number 9, it tells to iMacros to wait until captcha recognize is finished before form can be sent. According to this line iMacros waits 120 seconds until suitable element described in a line 10 appears.

VERSION BUILD=844 RECORDER=CR ' Go to a demo page with form which contains reCAPTCHA URL GOTO= ' Fill the text field with test value TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:recaptcha_demo_form ATTR=NAME:demo_text CONTENT=iMacros<SP>test<SP>message ' ' Most important part: we wait 120 seconds until an AntiCatcha indicator ' with class "antigate_solver" gets in additional "solved" class SET !TIMEOUT_STEP 120 TAG POS=1 TYPE=DIV ATTR=CLASS:"*antigate_solver*solved*" ' ' Send form TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:recaptcha_demo_form ATTR=TYPE:submit

In case of any problem with AntiCaptcha plugin integration with iMacros you can write us using Feedback form!