Skip to main content

Visual CAPTCHA solving

Anchor browser solves CAPTCHA challenges using a vision-based approach, along with extension-based fallbacks. The vision-based approach imitates human behavior to solve any CAPTCHA (including Cloudflare) without multiple challenges.
CAPTCHA solving works best with proxy enabled. Bot detectors would likely fail CAPTCHA solving attempts that are performed without Proxy.
For the full list of available options, view the interactive api documentation

CAPTCHA solving Configuration

import AnchorBrowser from 'anchorbrowser';

(async () => {
  const anchorClient = new AnchorBrowser({apiKey: process.env.ANCHOR_API_KEY});
  
  const session = await anchorClient.sessions.create({
    browser: {
      captcha_solver: {
        active: true, // Visual CAPTCHA solving
        // Optional: Text-based CAPTCHA (both selectors below)
        image_selector: 'ol_capcha img',
        input_selector: 'ol-captcha input'
      }
    }
  });
  
  console.log("Session created with CAPTCHA solver:", session.data.id);
})().catch(console.error);