Special Actions

Advanced actions for CAPTCHA solving, popup handling, AI-powered page interaction, lead outcome tracking, and package retry workflows.

captcha

type: captcha

Solve a CAPTCHA using a third-party solving service. Auto-detects the CAPTCHA type (reCAPTCHA v2/v3, hCaptcha, Cloudflare Turnstile), captures the challenge, sends it to the solver from the same IP as the browser (proxied solving), and injects the token. If a CAPTCHA is detected but not solved, the script stops to avoid submitting behind a closed gate.

ParamTypeDescription
captcha_typeoptionalstringForce type: "recaptcha", "turnstile", "hcaptcha". Auto-detected if omitted.
selectoroptionalstringHint selector to help locate the CAPTCHA widget on the page.
siteKeyoptionalstringOverride the site key (auto-extracted from the page if omitted).
optionaloptionalbooleanIf true, skip quietly when no CAPTCHA is found on the page. Default: false.
allow_unsolvedoptionalbooleanIf true, continue even if the CAPTCHA cannot be solved (not recommended).
provideroptionalstringSolver service to use. Uses the configured default if omitted.
proxyoptionalstringOverride proxy for solving. Uses the profile's proxy by default.
timeoutoptionalnumberMax time to wait for a solution in ms. Default: 180000 (3 min).
submitSelectoroptionalstringClick this element after solving (e.g. submit button that follows the CAPTCHA).
JSON
// Auto-detect and solve (most common usage)
{ "type": "captcha" }

68
{ "type": "captcha", "optional": true }

164
{ "type": "captcha", "captcha_type": "turnstile", "selector": "#cf-turnstile" }

288
{ "type": "captcha", "submitSelector": "#submit-btn" }
type: popup_close

Click a popup/modal close button if visible. Non-fatal — if the element is not found, the script continues without error. Searches both the main page and iframes by default.

ParamTypeDescription
selectorrequiredstring | arrayCSS selector(s) for the close button to click.
include_framesoptionalbooleanSearch inside iframes too. Default: true.
max_framesoptionalnumberMax frames to search. Default: 8.
delayoptionalnumberWait this many ms after clicking. Default: 350ms.
indexoptionalnumberWhich visible match to click (0 = first). Default: 0.
JSON
{ "type": "popup_close", "selector": ".modal-close-btn" }

{ "type": "popup_close", "selector": ["#dismiss", ".close-icon", "[aria-label='Close']"] }

{ "type": "popup_close", "selector": "#cookie-accept", "delay": 500 }

ai_solve

type: ai_solve

AI-powered dynamic page solver. Sends the page context and the current row data to an AI model that analyzes the page, identifies form fields and buttons, and generates actions to complete the task. Best for complex SPA questionnaires where static selectors are unreliable. The solver runs multiple rounds and reports success/failure.

ParamTypeDescription
selectoroptionalstring | arrayPresence gate — only run the solver when this element is visible on the page. Skips silently if not found.
JSON
// Run the AI solver on the current page
{ "type": "ai_solve" }

65
{ "type": "ai_solve", "selector": "#questionnaire-container" }

click_random_package

type: click_random_package

Selects a random package/plan from a leveled list for VCC (Virtual Credit Card) billing workflows. Each package has a level number and a selector. On first run, picks randomly from available levels. On retry (after a VCC decline with insufficient funds), automatically picks the next lower level.

ParamTypeDescription
packagesrequiredarrayArray of { level: number, selector: string } objects. Higher level = more expensive.
JSON
{
  "type": "click_random_package",
  "packages": [
    { "level": 1, "selector": "#basic-plan .select-btn" },
    { "level": 2, "selector": "#standard-plan .select-btn" },
    { "level": 3, "selector": "#premium-plan .select-btn" }
  ]
}

retry_package

type: retry_package

Retries VCC package selection after a card decline. Only runs if a retry is active (triggered by decline detecting insufficient funds). Closes any popups, selects the next lower-level package, and re-submits.

ParamTypeDescription
packagesrequiredarraySame leveled package list as click_random_package.
popup_selectorsoptionalarraySelectors for popups to close before/after selecting the fallback package.
submit_selectoroptionalstringSubmit button to click after selecting the fallback package.
JSON
{
  "type": "retry_package",
  "packages": [
    { "level": 1, "selector": "#basic-plan .select-btn" },
    { "level": 2, "selector": "#standard-plan .select-btn" },
    { "level": 3, "selector": "#premium-plan .select-btn" }
  ],
  "popup_selectors": [".modal-close", "#dismiss-popup"],
  "submit_selector": "#submit-order"
}