I’ve been working with browser automation for a while now, and one thing that constantly frustrates me is how fragile scripts become after a site redesign. I had a workflow that was working perfectly, extracting data from a product page, and then the client redesigned their site. The entire thing broke.
I started looking into how I could make workflows more resilient to these kinds of changes. I came across the idea of using AI to generate the automation based on plain language descriptions rather than rigid selectors and hardcoded logic. The theory is that if you describe what you’re trying to do (“extract the product price from whatever element contains it”) instead of coding it to a specific class name, the AI could adapt when the structure changes.
Has anyone dealt with this? Are there ways to make browser automation workflows actually adapt when a site redesigns, or are we always going to be rewriting these things?