Webwright
Webwright copied to clipboard
A simple SWE style browser agent framework that achieves SOTA results on long horizon web tasks.
## Description `persistent_local_browser.py` has two Windows incompatibilities that prevent the tool from working on Windows: 1. **`signal.SIGTERM` not available on Windows** (line 187): `os.kill(pid, signal.SIGTERM)` raises `AttributeError` because `signal.SIGTERM` is...
## Description In `local_browser.py`, `_attach_page_listeners()` (line 370-372) registers `page.on('console', ...)` and `page.on('pageerror', ...)` handlers, but these are **never removed** in `_close_async()` (line 533). The `_close_async()` method nullifies the `self._page` reference...
## Description In \local_browser.py\, several synchronous I/O operations run inside async methods, blocking the asyncio event loop: 1. \_is_local_cdp_available()\ (line 58) and \_local_cdp_page_targets()\ (line 73) use \urllib.request\ synchronously 2. \_ensure_local_cdp_browser()\...
**Environment** Windows 11, Codex VS Code extension, Codex CLI 0.136.0-alpha.2 Detected shell (from environment_context): powershell Webwright skill invoked via /webwright:run **Summary** The webwright skill instructs the agent to "drive the...
May I ask:what is a good way to strictly prevent an LLM from generating or outputting large amounts of HTML/DOM code? I only want it to use semantic snapshots. Using...
Do we have comparison with browser use ?? How good this is with browser use can I switch to it ??
I'm trying to follow the readme steps with the call ``` % python -m webwright.run.cli \ -c base.yaml -c model_claude.yaml \ -t "Search for flights from SEA to JFK on...
**Expected:** From the README I'm expecting to only require either the ANTHROPIC or OPENAI api key `Export credentials for the chosen backend (e.g. OPENAI_API_KEY or ANTHROPIC_API_KEY), then:` to run this...