Playwright-Backend und Browser-Identität/Stealth #36

Closed
opened 2026-07-17 23:52:34 +02:00 by frank · 1 comment
Owner

Ziel

Wählbares Browser-Backend (browser.backend = chromedp|playwright) hinter dem bestehenden browserexec.Executor-Vertrag. Beide Backends sollen Sessions möglichst wie ein normaler Chrome wirken (Identität + Stealth).

Scope

  • Config: backend, stealth, default_client_profile, allowed_client_profiles, Playwright Node/Sidecar-Pfade
  • Gemeinsame Identity/Stealth-Schicht; client_profile auf browser_open
  • chromedp First-Class härten (Launch-Flags, UA, Init-Scripts)
  • Playwright als stdio-JSON-RPC-Sidecar (kein Debug-Port)
  • Docs inkl. macOS/Windows-Setup

Nicht im Scope

  • Firefox/WebKit
  • Persistente Profile/Cookies
  • Caller-JavaScript
  • Auto-Download von Browsern zur Laufzeit

Akzeptanz

  • Default-Backend bleibt chromedp
  • Stealth-Smoke: kein HeadlessChrome im UA, navigator.webdriver falsy
  • Capability browser nur nach Version-/Pfadprüfung
  • Network Policy und Egress-Proxy unverändert wirksam
## Ziel Wählbares Browser-Backend (`browser.backend = chromedp|playwright`) hinter dem bestehenden `browserexec.Executor`-Vertrag. Beide Backends sollen Sessions möglichst wie ein normaler Chrome wirken (Identität + Stealth). ## Scope - Config: `backend`, `stealth`, `default_client_profile`, `allowed_client_profiles`, Playwright Node/Sidecar-Pfade - Gemeinsame Identity/Stealth-Schicht; `client_profile` auf `browser_open` - chromedp First-Class härten (Launch-Flags, UA, Init-Scripts) - Playwright als stdio-JSON-RPC-Sidecar (kein Debug-Port) - Docs inkl. macOS/Windows-Setup ## Nicht im Scope - Firefox/WebKit - Persistente Profile/Cookies - Caller-JavaScript - Auto-Download von Browsern zur Laufzeit ## Akzeptanz - Default-Backend bleibt `chromedp` - Stealth-Smoke: kein `HeadlessChrome` im UA, `navigator.webdriver` falsy - Capability `browser` nur nach Version-/Pfadprüfung - Network Policy und Egress-Proxy unverändert wirksam
Author
Owner

Implementierung steht lokal:

  • ADR 0002: Backend-Wahl + Identity/Stealth
  • Config: backend, stealth, Profiles, Playwright-Pfade
  • chromedp gehärtet (headless=new, AutomationControlled aus, UA/Init-Script)
  • Playwright stdio-Sidecar unter sidecar/browser-playwright/
  • Docs inkl. macOS/Windows; Wiki Configuration/Architecture/Troubleshooting/Deployment aktualisiert

Tests: go test ./... grün.

Implementierung steht lokal: - ADR 0002: Backend-Wahl + Identity/Stealth - Config: `backend`, `stealth`, Profiles, Playwright-Pfade - chromedp gehärtet (`headless=new`, AutomationControlled aus, UA/Init-Script) - Playwright stdio-Sidecar unter `sidecar/browser-playwright/` - Docs inkl. macOS/Windows; Wiki Configuration/Architecture/Troubleshooting/Deployment aktualisiert Tests: `go test ./...` grün.
frank closed this issue 2026-07-17 23:57:56 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ai-tools/private-proxy-mcp#36
No description provided.