daijro / camoufox

🦊 Anti-detect browser
https://camoufox.com
Mozilla Public License 2.0
723 stars 53 forks source link

Javascript or another code to send token Hcapcha #95

Open DeathJoh opened 5 days ago

DeathJoh commented 5 days ago

Hello, Daijro, and thank you in advance for your work. I would like to ask you for some alternative to javascript or integrate some hcapcha solver. Wow, all the extensions I use are detectable. I wanted to try the token here, but wow, it can't be passed without javascript.

I'm solving hcaptcha and need to pass the token in some way.

This is done in selenium code using javascript

driver.execute_script("""
document.getElementsByName('h-captcha-response')[0].style.display = 'block';
document.getElementsByName('h-captcha-response')[0].value = arguments[0];
""", token)

But how do I do it? Camoufox. Thank you.

vlrevolution commented 3 days ago

Can't you use javascript with camoufox?