From: Vasudevan C. <vco...@gm...> - 2014-08-20 14:38:14
|
Hi, I am facing a problem connecting to Recaptcha service through HTMLUnit. I did the following. 1. I used FF browser to connect to Recaptcha service using a demo site having the link http://www.patcurtis.com/captcha/recaptcha_demo.php 2. Captcha image will get displayed inside the recaptcha widget. 3. I was pressing the reload current page continuously after the captcha image is displayed. I did not get any error image even after reloading 500 times. I repeated the same exercise through HTMLUnit program. I was getting the captcha image for about 200 times of reload. But after that recaptcha service was throwing an error image. The link of the error image is http://www.gstatic.com/recaptcha/api/img/dos_captcha.jpg. Reloading after the error image throws back the same image page. Is there any reason for such a different behaviour through HTMLUnit?. I was expecting the same behaviour to happen with HTMLUnit as normal browser. Does the order of HTTP request headers matter?. I see the order through charles proxy and see the difference. Any pointers to solve this issue would help me. Looking forward to your reply. Regards Vasu |