Skip to main content

Module mobile_webview

Module mobile_webview 

Source
Expand description

Android WebView + iOS WKWebView captcha solving over CDP-over-USB.

Modern mobile apps embed CAPTCHA challenges inside a WebView. Both Android (WebView.setWebContentsDebuggingEnabled(true)) and iOS (Safari Inspector) expose a CDP-over-USB endpoint. This module wraps the connection setup so a captchaforge chain can solve a mobile-app captcha exactly like a desktop one.

Flow:

  1. Operator enables WebView debugging on the device.
  2. MobileWebViewBridge::connect_android(serial) (Android via adb forward tcp:9222 localabstract:chrome_devtools_remote) or connect_ios(udid) (iOS via ios_safari_inspector tool).
  3. The returned chromiumoxide::Page plugs into the regular CaptchaSolverChain::solve path.

This module ships the connection-shape contract — actual adb/ios-tools shell-out lives behind an opt-in feature flag in a future release (each is platform-specific and brings a separate process tree). The contract here lets the bench / integration tests stub the connection.

Structs§

MobileBridge
Connection metadata returned after a successful bridge setup.

Enums§

MobileTarget
Where the mobile WebView lives.