shahzain345 / puppeteer-hcaptcha-solver

Solve hcaptcha with puppeteer.
22 stars 5 forks source link

How to use tokens after solving captcha #8

Open tomnphamns opened 1 year ago

tomnphamns commented 1 year ago

After obtaining the returned token value. How can I send a token to the login form so that the hcaptcha form can close (with a message of completion of the validation) to continue the registration? image

Can you give me example code?

shahzain345 commented 1 year ago
const token = await captcha.solve(page); // this is the returned token value.
console.log(token)

Hope this helps!