How to set the rule for recaptcha check box "I'm not a robot"

327 views
Skip to first unread message

wingcha...@gmail.com

unread,
May 7, 2017, 11:02:43 AM5/7/17
to Autofill Chrome Extension
Hi,

I wonder what is the rule should be for recaptcha  check box "I'm not a robot".

Thanks,
Wing

thdoan

unread,
May 8, 2017, 10:18:14 PM5/8/17
to Autofill Chrome Extension, wingcha...@gmail.com
I've never tried it myself, but you can try creating a JavaScript rule that simulates a mouse click on the checkbox.

geork...@gmail.com

unread,
May 8, 2018, 5:25:46 PM5/8/18
to Autofill Chrome Extension
Hi,

I can't make this to work. I've tried several Javascript rules with no success. I'll appreciate it if anyone can help me... you can try on this demo page

Thanks,
George

geork...@gmail.com

unread,
May 10, 2018, 5:58:03 PM5/10/18
to Autofill Chrome Extension
Hi thdoan, please can you check on this. I think this one is a little bit tricky.
BTW thank you for your amazing tool...

Regards,
George

thdoan

unread,
May 22, 2018, 5:19:22 AM5/22/18
to Autofill Chrome Extension
Hi, here's a JavaScript rule to auto-check this sample recaptcha:


document.querySelector('.recaptcha-checkbox-checkmark').click();

Pro tip: you can always test to see if a JavaScript rule will work by opening the console (F12) and executing the command directly. This saves you a ton of time with trial & error.

geork...@gmail.com

unread,
May 22, 2018, 5:32:53 PM5/22/18
to Autofill Chrome Extension
It doesn't work... I have some experience in Javascript but this one is a little bit tricky. Actually the recaptcha v2 detects humans by only clicking that checkbox (it's not really a simple checkbox) so is not easy to automate this process. Anyway, I gave up this task ;)
George

thdoan

unread,
May 22, 2018, 6:35:58 PM5/22/18
to Autofill Chrome Extension
Can you give me a sample URL where it doesn't work? (it's working with the Google demo)

On Tuesday, May 22, 2018 at 2:32:53 PM UTC-7, georkings88wrote:

geork...@gmail.com

unread,
May 23, 2018, 8:15:23 AM5/23/18
to Autofill Chrome Extension
It doesn't work for me with Google Demo. Are you trying the rule with autofill?
The point is that rechapta code is generated dynamically so the tag you mention is not present at the page load.

jack...@gmail.com

unread,
May 23, 2018, 11:40:20 AM5/23/18
to Autofill Chrome Extension
You're right. The javascript code only works when a human actually clicks on it. It is indeed tricky.

thdoan

unread,
May 23, 2018, 9:58:44 PM5/23/18
to Autofill Chrome Extension
Are you guys using a JavaScript rule? Using the rule above, I can autofill the Google demo 100% of the time:

jack...@gmail.com

unread,
May 24, 2018, 4:08:31 PM5/24/18
to Autofill Chrome Extension
I see what you mean now. However, when I first tried it, it asked me to do "human" things.

Also, I think we were referring to using the console. I don't understand how it works when I put the javascript into the Autofill, but that does not when I went the javascript into the console immediately after loading the page. But for the most part, this is a solid solution.

thdoan

unread,
May 24, 2018, 8:16:51 PM5/24/18
to Autofill Chrome Extension
Checking "I'm not a robot" is the easy part; even if they randomize the name/id, you can still do it using document.querySelector('css selector for the checkbox'). You can even add a rule below to auto-click the submit button to automate everything for you; then use the Site filters to automate everything for each page (e.g., this way you an automate the entire store checkout process).

The one CAPTCHA that you'll never be able to "autofill" is the one that shows a bunch of images and asks you to select which images contain a tree, etc.
Reply all
Reply to author
Forward
0 new messages