Repository navigation
Releases
NDT Browser v0.3.0 — Session reliability and CDP authentication
NDT Browser v0.3.0
This release improves long-running automation while keeping Chrome/Chromium and both native drivers.
- Configure popups and native pages automatically inside the session context.
- Authenticate HTTP discovery and WebSocket CDP with
connectHeaders, isolated from website headers. - Require an exact final URL with
readyUrl, alongside visible selector readiness. - Inspect structured challenge timeout diagnostics and optionally capture a PNG.
- Replace a stuck page explicitly with
recoverPage()without replaying requests. - Bound shutdown stages and API request waits, including unresponsive renderers.
- Expand English and Vietnamese documentation and both-driver regression coverage.
Installation
npm install https://github.com/nguyenduytan/ndt-browser/releases/download/v0.3.0/nguyenduytan-ndt-browser-0.3.0.tgzChrome/Chromium must be installed, or use the documented Docker image build. No implicit browser downloads and no npm registry publication.
Validation and limits
31 tests pass locally on Windows, including popup/iframe workflows, cookie-authenticated POST, proxy authentication, hung-renderer recovery and authenticated HTTP/WS CDP. Type declarations, dependency audit and installed-tarball smoke checks pass.
The first popup request may precede configuration. Workers are not configured. Screenshot capture is best effort and adds up to two seconds of waiting. Recovery discards unsaved state in the affected page. A timed-out POST may already have been accepted; NDT never retries it automatically. Challenge tests use local fixtures, not live Cloudflare clearance measurements.
Cross-platform CI passed on Windows, macOS, Linux and Docker, including the headed Xvfb smoke test: https://github.com/nguyenduytan/ndt-browser/actions/runs/43006144566
NDT Browser v0.2.0 — bounded readiness and paced automation
Adds shared navigation/challenge deadlines, visible readiness, state notifications, proxy URL parsing, and explicit paced click/type/scroll helpers. Native APIs remain unchanged. Removes architecture-reference paragraphs from both READMEs; legal notices retained. All 25 tests passed on Windows/Linux/macOS/Docker for the code commit; archive consumer checks passed. Humanize is fixed pacing, not randomized mouse simulation. Live Cloudflare effectiveness, automatic popup configuration, advanced diagnostics and long-duration load remain unverified or unimplemented.
NDT Browser v0.1.0 — Puppeteer & Playwright automation
NDT Browser v0.1.0
Lightweight browser automation and scraping with native Puppeteer and Playwright.
Install
Requires Node.js 22.12+ and an installed Chrome/Chromium/Edge browser:
npm install https://github.com/nguyenduytan/ndt-browser/releases/download/v0.1.0/nguyenduytan-ndt-browser-0.1.0.tgzIncluded
- Direct Chromium process launch and remote CDP connections.
- Typed native browser/context/page APIs for click, fill, evaluate, network hooks and more.
- Persistent profiles and browser-session GET/POST with cookies, JSON, timeout and response limits.
- CSS extraction; native viewport/locale/timezone/UA controls; custom runtime support.
- Authenticated HTTP proxy, optional resource blocking and transfer counters.
- Challenge waiting, cancellation and bounded opt-in Turnstile widget interaction.
- CLI, English/Vietnamese guides, Dockerfile, Compose and Xvfb support.
Validation
Real-browser tests exercise both drivers against local HTTP, proxy and widget fixtures.
The packed archive was installed and exercised in a separate consumer directory.
All 21 tests passed on Windows, Linux, macOS and Docker; headed/Xvfb smoke tests also passed. CI results.
Limits
This release does not contain Chromium fingerprint patches, CAPTCHA providers or
a verified universal Cloudflare bypass. Challenge interaction is best-effort and
fixture-tested; live provider effectiveness depends on the runtime and target site.
Playwright uses Chromium CDP; Firefox/WebKit are not supported.
Tiếng Việt
Bản đầu tiên của NDT Browser: automation bằng API gốc Puppeteer/Playwright, GET/POST
trong phiên browser, profile/cookie, proxy, extraction và xử lý chờ challenge có giới hạn.
README có đủ English/Tiếng Việt; Docker hỗ trợ headless và headed qua Xvfb.
Không có cam kết “undetectable” hoặc vượt mọi Cloudflare; xem giới hạn trong README.