Reject Captcha
From UBot Studio
(Difference between revisions)
(Created page with "This command navigates the browser to a specified url. Reject Captcha is a Browser Command. The command can be used in the If, Then, Else co...") |
Latest revision as of 21:05, 13 October 2014
This command navigates the browser to a specified url.
Reject Captcha is a Browser Command.
The command can be used in the If, Then, Else command to reject captchas that were incorrectly solved by a captcha service.
[edit] Example
navigate("http://www.ubotstudio.com/playground/captcha-form", "Wait") wait(3) type text(<name="ctl00$ContentPlaceHolder1$captcha">, $solve captcha(<src="/assets/captcha.jpg?id=0.7055475">), "Standard") click(<name="ctl00$ContentPlaceHolder1$Button1">, "Left Click", "No") wait(3) if($exists(<id="result">)) { then { click(<title="Home">, "Left Click", "No") } else { reject captcha } }
The script check the page to make sure the captcha typed into the filed was accepted by the webpage.
The Else command will run only if the word "Correct" is not detected on the page, which indicates that the captcha was correct.