Scrapeless API
Dashboard
Dashboard
  1. Scraping Browser
  • User
    • Get User Info
      GET
  • Scraping Browser
    • CDP API
    • Connect
      WSS
  • Scraper API
    • shopee
      • Actor List
      • Shopee Product
      • Shopee Search
      • Shopee Rcmd
    • br sites
      • Solucoes cnpjreva
      • Solucoes certidaointernet
      • Servicos receita
      • Consopt
    • avnet
      • Product detail
    • arrow
      • Product Search
    • airline
      • iberia
        • Iberia
      • expedia
        • Expedia
      • kayak
        • Kayak
    • amazon
      • API Parameters
      • product
      • seller
      • keywords
    • temu
      • Temu
    • google trends
      • API Parameters
      • AutoComplete
      • Interest Over Time
      • Compared Breakdown By Region
      • Interest By Subregion
      • Related Queries
      • Related Topics
      • Trending Now
    • google flights
      • API Parameters
      • Round trip
      • One way
      • Multi-city
    • google flights chart
      • API Parameters
      • chart
    • google search
      • API Parameters
      • Google Search
    • google maps
      • API Parameters(Google Maps)
      • API Parameters(Google Maps Autocomplete)
      • API Parameters(Google Maps Contributor Reviews)
      • API Parameters(Google Maps Directions)
      • API Parameters(Google Maps Reviews)
      • Google Maps
      • Google Maps Autocomplete
      • Google Maps Contributor Reviews
      • Google Maps Directions
      • Google Maps Reviews
    • google scholar
      • API Parameters(Google Scholar)
      • API Parameters(Google Scholar Author)
      • API Parameters(Google Scholar Cite)
      • API Parameters(Google Scholar Profiles)
      • Google Scholar
      • Google Scholar Author
      • Google Scholar Cite
      • Google Scholar Profiles
    • google jobs
      • API Parameters
      • Google Jobs
    • google shopping
      • API Parameters
      • Google Shopping
    • google hotels
      • API Parameters
      • Supported Google Vacation Rentals Property Types
      • Supported Google Hotels Property Types
      • Supported Google Vacation Rentals Amenities
      • Supported Google Hotels Amenities
      • Google Hotels
    • google news
      • API Parameters
      • Google News
    • google lens
      • API Parameters
      • Google Lens
    • google finance
      • API Parameters
      • Google Finance
      • Google Finance Markets
    • google product
      • API Parameters
      • Google Product
    • google play store
      • API Parameters
      • Supported Google Play Categories
      • Google Play Games
      • Google Play Books
      • Google Play Movies
      • Google Play Product
      • Google Play Apps
    • google ads
      • API Parameters
      • Google Ads
    • mouser
      • mouser
    • Scraper Request
      POST
    • Scraper Getresult
      GET
  • Web Unlocker
    • JS Render Docs
    • JS Render
    • Web Unlocker
    • Akamaiweb Cookie
    • Akamaiweb Sensor
  • Public
    • actor status
    • actor status
  1. Scraping Browser

CDP API

Overview#

Scrapeless Scraping Browser extends the standard CDP (Chrome DevTools Protocol) functionality with a series of powerful custom functions to enhance browser automation capabilities. This documentation primarily covers CDP functions related to CAPTCHA handling.

Captcha Solver Features#

Feature Overview#

Scraping Browser includes advanced CAPTCHA solution capabilities that can automatically handle mainstream CAPTCHA types appearing on web pages.

Supported CAPTCHA Types#

reCaptcha
Cloudflare Turnstile

Event Monitoring Mechanism#

Core Events#

Scraping Browser provides three core events to monitor the CAPTCHA solving process:
Event NameDescription
Captcha.detectedCAPTCHA detected
Captcha.solveFinishedCAPTCHA solved
Captcha.solveFailedCAPTCHA solve failed
Event Response Data Structure
FieldTypeDescription
typestringCAPTCHA type: recaptcha turnstile
successbooleanSolution result
messagestringStatus message: "NOT_DETECTED" "SOLVE_FINISHED" "SOLVE_FAILED" "INVALID"
token?stringToken returned on success (optional)

Implementation Examples#

Node.js (Puppeteer)
Python (Playwright)

Advanced Configuration API#

Scraping Browser provides a series of advanced APIs for fine-grained control over the CAPTCHA solver's behavior. Here are the supported APIs:
API NameDescription
Captcha.setAutoSolveControl automatic CAPTCHA solving behavior
Captcha.setTokenSet authentication token for CAPTCHA service
Captcha.setConfigConfigure all CAPTCHA solver parameters
Captcha.solveManually trigger CAPTCHA solving process

Detailed API Description#

1. Captcha.setAutoSolve#

Configuration interface to control automatic CAPTCHA solving behavior.
Node.js (Puppeteer)
Python (Playwright)

2. Captcha.setToken#

Set authentication token for CAPTCHA solving service.
Node.js (Puppeteer)
Python (Playwright)

3. Captcha.setConfig#

Configure all parameters for the CAPTCHA solver.
Node.js (Puppeteer)
Python (Playwright)

4. Captcha.solve#

Manually trigger CAPTCHA solving process.
Node.js (Puppeteer)
Python (Playwright)
Modified at 2025-01-21 09:22:02
Previous
Get User Info
Next
Connect
Built with