Symptom
A click or a dropdown action on a missing element comes back as a normal result. The warning is 'Element index N not available - page may have changed', and the agent keeps going.
Evidence what you'll see
- The three actions return
ActionResult(extracted_content=msg)whenget_element_by_indexreturnsNone. Agent.multi_act()only stops the rest of the queue whenresults[-1].erroris set. Witherror=None, later actions still run.Agent._post_process()incrementsconsecutive_failuresonly whenlast_result[-1].erroris set, so these misses never count towardmax_failures.- Issue #5361 is the same shape for
scroll,input, andfind_text. This report addsclick,dropdown_options, andselect_dropdown.
Why it happens
The agent loop treats an action as a failure only when the result's error field is set. These three actions build a warning string and return it as extracted_content instead. The page did not change, but the result looks like success, so the model plans the next step from that false success. select_dropdown has a second path: when selection_data.get('success') is not 'true' and the response already carries memory fields, it still returns a non-error result. The issue notes a TODO there that says this should raise BrowserError.
Affected versions
Reported on browser-use 0.13.7 at commit 3260188. The linked issue does not name an operating system. Issue #5361 names the same version at commit 71714137.
Fix steps
0 of 3 done
Your check marks stay in this browser only.
How to check it worked
- Click an index that is no longer on the page. The result has
errorset,multi_act()does not run the queued follow-up, andconsecutive_failuresgoes up.
If it still fails
- Issue #5438 is still open. The linked issue does not name a merged pull request or a release that changes these three actions. It says pull request #5390 covers the three actions in #5361 and not these three.
- A comment on #5361 says the default
pages == 1.0scroll can also report success after every scroll attempt failed. That issue is a separate report.
Sources and credit
Summarized in our own words from these public reports. Credit goes to their authors.
Provided as is, without warranty. Try changes in a non-production environment and back up first. Security-related steps: verify against the official docs. Terms · Request removal or attribution change
Hit an error we don't cover? Submit it