[!NOTE] This README was generated by SKILL, get the ZH version from here.
HEADLESS BROWSER AUTOMATION FOR GO — STEALTH, SESSIONS, AND SMART CONTENT EXTRACTION
A Go library with stealth anti-detection, Chrome cookie session injection, and multi-snapshot content extraction
Table of Contents
Features
go get github.com/pardnchiu/go-browser· Documentation
- Stealth Anti-Detection — Built-in stealth.js injection and AutomationControlled bypass to reduce interception by Cloudflare and similar protections.
- Chrome Cookie Session Injection — Extracts and decrypts cookies from the local Chrome profile, injecting them into a temporary browser instance to access login-required pages.
- Multi-Snapshot Merge — Simulates scrolling behavior, captures multiple page snapshots, and merges with deduplication to fully extract dynamically loaded content.
- Interactive Tab Operations — Supports creating tabs, clicking, typing, scrolling, executing JavaScript, and taking snapshots for form filling and multi-step workflows.
- Multi-Format Output — Obtain Markdown, HTML, or structured JSON tree from a single request, with built-in readability parsing and paragraph deduplication.
Architecture
graph TB
A[Fetch / CreateTab] --> B[Launcher]
B --> C{Headless?}
C -->|Yes| D[Stealth JS]
C -->|No| E[Cookie Session]
D --> F[Page Navigate + Scroll]
E --> F
F --> G[Snapshot Merge]
G --> H[Readability + Dedup]
H --> I[Markdown / HTML / JSON]
License
This project is licensed under the MIT LICENSE.
Author
邱敬幃 Pardn Chiu
hi@pardn.dev
https://linkedin.com/in/pardnchiu
©️ 2025 邱敬幃 Pardn Chiu