Checkout our demo site to practice selenium https://magento.softwaretestingboard.com/

0 like 1 dislike
3.7k views
by Contributing Tester (48 points)
edited by
HI,

Please help me to resolve - Google Invisible reCAPTCHA in C# - Selenium Automation Testing.

As I have required for a project, Please help me.

Below are the details about Google Invisible reCAPTCHA, What Invisible reCAPTCHA :

Human users will be let through without seeing the "I'm not a robot" checkbox, while suspicious ones and bots still have to solve the challenges.

Since the launch of No CAPTCHA reCAPTCHA, millions of internet users have been able to attest they are human with just a single click. Now we're taking it a step further and making it invisible. Human users will be let through without seeing the "I'm not a robot" checkbox, while suspicious ones and bots still have to solve the challenges. We’re excited about this and hope you will give it a try

http://www.tomshardware.com/news/google-invisible-recaptcha-developer-rollout,33894.html

https://www.google.com/recaptcha/intro/invisible.html

1 Answer

0 like 0 dislike
by
As the blog says, invisible reCAPCHA is meant to prevent bot. So, if your script or tool is identified as a bot, obviously Google will sense that and give you challenge.

The reCAPCHA challenge is installed to prevent automation. So, for you to do automation, you should closely work with the dev team and find out a way to avoid the challenge. This is the ideal way.

Yet, we could overcome "I'm not a robot" checkbox using AutoIT and sometimes using Robot classes from Java in one of our projects. But, most of the time we used Selenium or ProtractorJS. So, we were required to execute our code on the grid. So, we got limited here. Hence ultimate solution was to work with the dev team and remove challenge on necessary environments.
by Contributing Tester (48 points)
I have used reCAPCHA using a Paid API call without any removal of code by developer
But do't know how to call this type,
Can we slow the speed of script or any workarond with any develpment interception?
by Expert (572 points)
Slowing down the speed is not really an option. We once achieved this by passing manual user agent with Firefox browser instance.

Sample python code:
profile = webdriver.FirefoxProfile()
profile.set_preference("general.useragent.override", "Mozilla/5.0 (Windows NT x.y; rv:10.0) Gecko/20100101 Firefox/10.0")
driver = webdriver.Firefox(profile)
by Contributing Tester (48 points)
Can I implement this in C#
by The go-to Tester (181 points)
Certainly you can. You just have to find out equivalent C# code.


This site is for software testing professionals, where you can ask all your questions and get answers from 1300+ masters of the profession. Click here to submit yours now!

1.4k questions

1.6k answers

866 comments

1.9k users

...