This premade uses the Anti Captcha service to solve Google reCAPTCHAs, such as this:
You'll be required to enter 4 parameters:
- Account Key: This is the account key the Anti Captcha service gives you when you sign up.
- Timeout in Seconds: The maximum number of seconds to wait for a CAPTCHA solution.
- Ignore Errors: If true, it will ignore any errors that may occur during solving. Should be set to false for testing purposes.
- Submit Form: If the CAPTCHA page has a submit button other than the default Verify button, this will attempt to find the submit button and press it.
It is recommended to first import it into a global, and then double click the action and select Run in Browser in a page that shows a CAPTCHA, to make sure that all parameters have been entered correctly. After running it, the browser should have navigated to the page you're trying to reach. If anything fails, you can get more information on the project's log.
It is not recommended to import it manually, but it can be done by copying the code below and pasting it into a new global, and then manually entering the 4 parameter placeholders at the bottom. Be sure to use the right data types when doing so (accountKey: string, timeout: number, ignoreErrors: boolean, submitForm: boolean).
Code: Select all
invoke function (accountKey timeout ignoreErrors submitForm) Browser.RunScript · String.Download · "https://www.heliumscraper.com/scripts/anti/recaptcha.js?v=4" · struct accountKey accountKey timeout timeout ignoreErrors ignoreErrors submitForm submitForm · [accountKey] · [timeout] · [ignoreErrors] · [submitForm]