How bypass recptcha with Selenium + C#

Pedro Felipe 1 Reputation point
2022-03-04T18:04:17.503+00:00
Driver.ExecuteJavaScript("document.getElementById('g-recaptcha-response').style.display = 'block';");
Driver.ExecuteJavaScript("document.getElementById('g-recaptcha-response').innerHTML='" + solver.LastResponseText + "';");,

I'm consuming a captcha break api, and I'm passing the values, but I can't submit it through javascript to check the recaptcha, what better way to do it?

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,403 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 61,731 Reputation points
    2022-03-06T01:04:19.997+00:00

    the point of recaptcha is to prevent automation. you will need the server to not require it when testing.

    0 comments No comments