Skip to content

feat(core): add aiLocateAll (#1848)#1914

Draft
yuyutaotao wants to merge 2 commits intomainfrom
feat/locate-all
Draft

feat(core): add aiLocateAll (#1848)#1914
yuyutaotao wants to merge 2 commits intomainfrom
feat/locate-all

Conversation

@yuyutaotao
Copy link
Collaborator

  • feat(core): add LocateMulti and LocateAll with short memory support

  • refactor(core): remove short memory manager and related functionality

  • feat(core): add aiLocateAll to aiTaskHandlerMap

  • chore(core): revert signature sign changes

Removed ExecutorContext from the call method signature.

  • refactor(core): unify locate methods and enhance parameter handling

  • fix(core): correct naming inconsistencies for LocateMultiple elements across multiple files

  • refactor(core): enhance element locating functionality and improve UI rendering

  • fix(core): format assertions for clarity in locate methods

* feat(core): add LocateMulti and LocateAll with short memory support

* refactor(core): remove short memory manager and related functionality

* feat(core): add aiLocateAll to aiTaskHandlerMap

* chore(core): revert signature sign changes

Removed ExecutorContext from the call method signature.

* refactor(core): unify locate methods and enhance parameter handling

* fix(core): correct naming inconsistencies for LocateMultiple elements across multiple files

* refactor(core): enhance element locating functionality and improve UI rendering

* fix(core): format assertions for clarity in locate methods
@netlify
Copy link

netlify bot commented Feb 3, 2026

Deploy Preview for midscene ready!

Name Link
🔨 Latest commit b6cefa7
🔍 Latest deploy log https://app.netlify.com/projects/midscene/deploys/6985abd0db99060008469f23
😎 Deploy Preview https://deploy-preview-1914--midscene.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Feb 3, 2026

Deploying midscene with  Cloudflare Pages  Cloudflare Pages

Latest commit: b6cefa7
Status: ✅  Deploy successful!
Preview URL: https://0fa722a7.midscene.pages.dev
Branch Preview URL: https://feat-locate-all.midscene.pages.dev

View logs

- Merge AiLocateMultipleElements and AiLocateAllElements into unified AiLocateElements
- Merge llm-locator-all.ts and llm-locator-multi.ts into llm-locator-batch.ts
- Add private locateBatch method in Service to handle both modes
- Reduce code duplication by ~205 lines

https://claude.ai/code/session_01642pB4YRvrzgZnwNvZ5LPD

Co-authored-by: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants