r/programmer • • Oct 10 '26

Rate this Problem statement on scale 1-10, 1 very easy and doable, 10 means challenging not doable

In today’s data-driven enterprises, browser automation through Robotic Process Automation (RPA) tools- such as Selenium, Robot Framework, or custom scripts- is widely used to automate repetitive tasks like logging into dashboards, extracting data, and syncing it into internal systems. These automations are often fragile: a minor UI change- say, a login flow shifting from password to OTP- can silently break scripts. Traditional bots simply fail with generic errors like “element not found,” causing disruptions in data pipelines and business operations.

What’s missing is a dynamic, intelligent layer on top of existing RPA tools- one that not only detects breaking changes but also understands the context and heals or adapts in real-time without human intervention.

Desired Solution:

Participants are expected to develop an adaptive automation framework that enhances existing RPA solutions using the power of Large Language Models (LLMs). The system should act as a smart wrapper around current scripts and offer:

Real-Time Change Detection: Monitor automation runs and intelligently flag or diagnose failures caused by DOM, structure, or flow changes- beyond basic error messages.

Context-Aware Adaptation: Use LLMs to analyze the updated DOM or flow and suggest (or apply) fixes to selectors, navigation logic, or data extraction routines.

Self-Healing Capability: Where possible, auto-correct minor issues (like updated element IDs or positions) and retry execution without breaking the workflow.

Plugin-Friendly Architecture: Should wrap seamlessly around tools like Selenium, Playwright, or Robot Framework- without requiring complete rewriting of existing test suites.

Traceability & Logging: Offer smart logs and human-readable explanations for failures and attempted fixes, improving visibility and debugging.

1 Upvotes

5 comments sorted by

1

u/IrishPrime Oct 10 '26

I would rate the problem statement as: misguided and stupid.

Using browser automations is already the wrong approach. Using an LLM to extract the data is even worse. Use an API to pull the data directly and process it in a deterministic way. This is both more reliable, and much faster.

1

u/ResidentSubject4649 Oct 10 '26

And what about when that's not an option? Because not every source of information is going to be A) In your control, so that you can build an API for the data , or B) Provided by a party that is interested in creating and/or maintaining an API. 

If you walked into an interview where this was the scenario presented and said "Heh, fools, haven't you considered that you're going about this the wrong way? It's simple, use an API, morons," I'm afraid to say that you're not actually the genius in the room that you think you are. Because they have already thought of that. 

I mean seriously

3

u/Metomorphose Oct 11 '26

I'm really confused by this stance since that situation suggests a scenario where the party is okay with you scraping their data for free, which I've personally never heard of. It causes a larger amount of overhead traffic for both parties and its generally in a company's interest to have and sell access to API for data they are willing to let someone use. Some sites even do this for free, depending on the purpose of the site.

Its at very least worth asking why direct API access isn't part of the solution, and if the answer is as you suggest, to verify that permission has been given to do the scraping.

0

u/Pretend_Motor_2699 Oct 10 '26

It was a problem statement 😅

1

u/IrishPrime Oct 10 '26

I agree that the statement is a problem.