web: fill by coordinates sends Cmd+A on macOS, which can open "About This Mac"
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 62/100
- Issue-Typ
- Bug
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- node.js, typescript, web-dev
Rechercherichtung
Locate the web backend's agent-browser provider and its fill implementation, where the coordinate click is followed by Meta+a; the issue does not give file or test paths. Read that flow and run the provided data URL reproduction on macOS. Done when a miss-click no longer opens “About This Mac” and filling a focused editable field still replaces its contents.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Environment
- agent-device 0.21.20 (managed web backend: agent-browser 0.27.1, Chrome for Testing 152.0.7977.54, headless)
- macOS 26.6.2 (Tahoe), Apple M4 Max
- Node v24.18.0
Description
On macOS, fill <x> <y> <text> on the web backend clicks the point and then presses Meta+a to clear the field. If the click doesn't land in an editable element, Chrome doesn't use the key and hands it to the macOS menu, and the system "About This Mac" window opens on the host. With agents filling forms all day, this happened about 15 times a day for us.
Control+a doesn't trigger it, and neither does Meta+a when an input has focus. Not a regression as far as we know.
Possible fix: select inside the page instead of sending a key, e.g. eval this in place of press Meta+a in the agent-browser provider's fill:
(()=>{const a=document.activeElement;if(a&&typeof a.select==="function")a.select();else if(a&&a.isContentEditable)document.execCommand("selectAll")})()
Reproducible Demo
agent-device open 'data:text/html,<input style="position:absolute;left:50px;top:50px">' --platform web
agent-device fill 600 500 "x" --platform web
Output: Filled 1 chars, and "About This Mac" opens. The system log shows loginwindow: _handleAppleEvent | AboutThisMac event received right after Chrome for Testing logs performKeyEquivalent:.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 5.2k
- Forks
- 359
- Ø Merge
- 12 Std. 48 Min.
- Gemergte PRs (30 T.)
- 657
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus callstack/agent-device
-
A session bound to an Apple device rejects --device=<its own UDID>Evtl. vergeben @zerone0x hat das vor 1 Tag übernommen. Offenbug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 64/100
callstack/agent-device#3945 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Limrun iOS fill reports success but drops non-ASCII textEvtl. vergeben @mvanhorn hat das vor 7 Tagen übernommen. Offenbug ready-for-agent
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 87/100
callstack/agent-device#3819 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
callstack/agent-device#1869 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Android: snapshot helper exits without parseable output after a screen transition (still on 0.21.33)Offen
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 45/100
callstack/agent-device#4005 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 48/100
callstack/agent-device#3992 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in callstack/agent-device
Ähnliche Issues
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
scaleway/ultraviolet#7089 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 67/100
tencent-connect/dsh-qqbot#81 ·
Maintainer antworten meist innerhalb von 1 Tag
-
[Bug]: Pen taps on sidebar rows start a drag and lose their clickEvtl. vergeben @makhnatkin hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 66/100
clangd/vscode-clangd#1009 ·