-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
public async Task SolveCaptcha()
{
TwoCaptcha.TwoCaptcha solver = new TwoCaptcha.TwoCaptcha("-TOKEN-");
FunCaptcha captcha = new FunCaptcha();
captcha.SetSiteKey("DF9C4D87-CB7B-4062-9FEB-BADB6ADA61E6");
captcha.SetUrl("https://demo.arkoselabs.com/?key=DF9C4D87-CB7B-4062-9FEB-BADB6ADA61E6");
try
{
solver.Solve(captcha);
await solver.WaitForResult(captcha, new Dictionary<string, int>());
}
catch (AggregateException ex)
{
await page.EvaluateExpressionAsync<string>($"console.log('{ex.InnerExceptions.First().Message}');");
}
}
the function WaitForResult
never returns. code stuck that line.
Metadata
Metadata
Assignees
Labels
No labels