How to handle recaptcha v3.0 in C# selenium? is there any settings to

180 views
Skip to first unread message

Udayakumar Gnanamoorthy

unread,
Aug 8, 2022, 4:30:16 AM8/8/22
to Selenium Users
Good Day Everyone, 

How to handle recaptcha v3.0 in C# selenium? is there any settings to let google knows that we are using in test mode? 

Thanks
Udayakumar.  

SiKing

unread,
Aug 8, 2022, 1:16:57 PM8/8/22
to Selenium Users
If there were such a setting, then wouldn't everyone use it ... effectively making the CAPTCHA useless?

David

unread,
Aug 11, 2022, 11:48:54 PM8/11/22
to Selenium Users
I believe this is more about bypass for test automation using the test feature of the CAPTCHA framework, and not about hacking around the system to do stuff.

With Google's implementation, it's not clear with details on how to invoke test mode with one's account for v3, but v2's documentation appears more explicit of how to enable test mode:


It might be good if someone here could elaborate on exactly how you do test mode in v3, it mentions creating separate keys say for staging & test environments, but keys probably just mean enable CAPTCHA for use in those environments, how to indicate that the key is test key and go into test mode? Maybe there is documentation not referenced. I haven't worked in this area nor used Google CAPTCHA system to know the details.

David

unread,
Aug 11, 2022, 11:51:44 PM8/11/22
to Selenium Users
Bear in mind what I just mentioned previously is configured at the site/app under test (not meant for production site/app), and not configurable from the test automation, unless the site/app has a backdoor for configuration that the automation code can call on the fly. So in the ideal setup in test environments, the automation is unaware that there was CAPTCHA to begin with as it has been disabled in the site/app via the test mode setting.
Reply all
Reply to author
Forward
0 new messages