mirror of
https://github.com/openswarm-ai/openswarm.git
synced 2026-09-25 11:04:54 +02:00
Headless browser (Playwright): - New: headless_browser.py — full Playwright-based browser implementation - Supports: navigate, screenshot, get_text, click, type, evaluate, get_elements - Auto-fallback: execute_browser_tool tries Electron webview first, falls back to headless Playwright when "not found" error detected - Works everywhere: web browser, Electron app, server, CI - Pages managed per browser_id, cleaned up on session close WebSearch fix: - Changed User-Agent from bot identifier to Chrome UA - DDG serves different HTML to bots vs browsers, causing parse failures - Now returns proper results (tested: Eater SF, Infatuation, etc.) Requirements: - Added playwright to requirements.txt Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
22 lines
340 B
Plaintext
22 lines
340 B
Plaintext
anthropic
|
|
openai
|
|
google-genai
|
|
mcp
|
|
posthog
|
|
jsonschema
|
|
fastapi[standard]
|
|
pydantic==2.10.5
|
|
langchain-core==0.3.51
|
|
langchain-openai==0.3.12
|
|
pytest==8.3.4
|
|
pytest-asyncio==0.25.2
|
|
typeguard==4.4.2
|
|
python-dotenv==1.1.1
|
|
Pillow
|
|
# Channels: SMS, WhatsApp, Voice
|
|
twilio>=9.0.0
|
|
telnyx>=2.0.0
|
|
edge-tts>=6.1.0
|
|
httpx>=0.27.0
|
|
playwright
|
|
cryptography>=42.0.0 |