Hack Forums
[Java] What to do with recaptcha result? - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [Java] What to do with recaptcha result? (/showthread.php?tid=5710415)



What to do with recaptcha result? - FBI - Sep 4, 2017

I am playing around with anti-captcha, and as my captcha's are solved I get this result back:
[Image: f0MOSVjRTOe67vt2Wn9H9w.png]

Not sure what to do with this string to solve my recaptcha and can't seem to find any good documentation on it?

Here's the example: https://anticaptcha.atlassian.net/wiki/spaces/API/pages/5505035/Examples


* - Charger - Sep 4, 2017

You post at as g-recaptcha-response I think.


* - Vana - Sep 4, 2017

For whatever request the captcha is needed for, add a POST param "g-recaptcha-response" and set the value to that result.


* - FBI - Sep 4, 2017

(Sep 4, 2017 10:19 AM)Vana Wrote:  For whatever request the captcha is needed for, add a POST param "g-recaptcha-response" and set the value to that result.

I tried setting it to the response but it keeps saying:
"org.openqa.selenium.ElementNotInteractableException: Element is not visible"

I tried using this to correct that:
https://stackoverflow.com/questions/12363038/selenium-webdriver-click-on-hidden-elements

but it turns out the element is already set to visible? Just not showing?

EDIT: solved my errors, just had to tweak the javascript a little. Thanks for the help guys!