Webwright: Why AI Web Agents Should Write Code, Not Click
AI-generated summary of reporting by Towards Data Science Blog. Read the original for the full story. The source provided limited text, so this summary is brief.
Why it matters
Web agents that write and reuse code instead of clicking could make long automation tasks far more reliable, shifting how teams build browser automation.
Webwright is a research approach from Microsoft Research where an AI controls websites by writing a program in a terminal, rather than clicking like a human would. On long, multi-step tasks, the GPT-5.4 model succeeded 60.1% of the time with Webwright versus 33.5% with the clicking approach. The side benefit is that the AI leaves behind a reusable command-line tool rather than a useless record of clicks. No availability details are given, as this is a research result.
Microsoft Research's Webwright suggests browser-automation products built on click-by-click agents are structurally fragile on long tasks. The same GPT-5.4 model improved from 33.5% to 60.1% success when writing code instead of clicking. Vendors selling browser agents would need to justify that approach; buyers may favour code-generating automation that also produces reusable tools. No product availability or pricing is stated.
Webwright replaces the dominant UI-automation agent paradigm with code generation: the model gets a terminal and writes a program that performs the web task, rather than emitting per-step clicks. Using GPT-5.4, success on long-horizon tasks rises from 33.5% to 60.1%. Each run yields a reusable command-line artifact instead of a click trace. The article reports no code release, baselines, or evaluation details.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
Speculative Decoding Makes Tool Calls Faster. Agents Need a Cache.
Speed improvements in speculative decoding mean agents can execute tool calls faster, reducing latency for real-time applications.
Let Claude Code or any agent tap, type, and read your real phone
Agents can now close the mobile testing gap by driving and reading a real phone themselves, with nothing installed on the device.
The next generation of bionic hands is here, and they can feel
Very little changes for practitioners today, this is an early clinical trial, but a two-way neural interface prosthetic that one user can operate independently at home is a concrete milestone toward insurable, FDA-approved bionic limbs.
n8n's open source personal agent runs on your machine and asks before it acts
Developers uneasy about cloud-based AI agents get a local, approval-gated alternative they can download today, though its research-preview status limits real reliance.
A flight recorder for AI agents that even auditors can verify offline
Teams running AI agents on production systems get tamper-evident, auditor-verifiable records of every tool call instead of logs the agent could rewrite.