Webwright: Why AI Web Agents Should Write Code, Not Click
Towards Data Science
Read full postWebwright, developed by Microsoft Research and the University of Hong Kong, introduces a novel browser-agent framework that writes code to interact with websites rather than relying on fragile, step-by-step clicking actions. This approach aims to overcome common failures in web agents caused by unpredictable page changes and non-reusable action sequences. Unlike previous agents that act one click at a time, Webwright generates durable, reusable code to complete web tasks more reliably.



