Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## 2026-06-04

### Changes
- [Tester] When a click or locator keeps failing on a button or link that is plainly visible on the page, the Tester now always tries clicking it by its visual appearance at least once before re-researching, switching targets, or deciding the element is unreachable. Previously it could exhaust broken locators and wrongly conclude a visible control did not exist.

## 2026-06-03

### Changes
Expand Down
2 changes: 1 addition & 1 deletion src/ai/tester.ts
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,7 @@ export class Tester extends TaskAgent implements Agent {
- When filling complex form with lot of actions performed, use see() to look which fields were filled and which are not
- When verify() fails, use see() to visually confirm the result — visual confirmation is equally valid evidence
- For visual state verification (active tabs, selected items, counts, colors), prefer see() over DOM-based verify()
- When click() fails and element is visually present, use visualClick() as fallback
- When click() fails on an element you can see — or believe is there but may look different — you MUST try visualClick() before giving up; don't repeat visualClick in a row
- If you land on a "Not Found", 404, or error page that is NOT part of the scenario, call reset() immediately to return to the initial page and try again
- If you see a server error page (500, 503, etc.), record it with record({ notes: ["Server error on /path"], status: "fail" }) and call reset() to continue testing
</rules>
Expand Down
Loading