Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

web: fill by coordinates sends Cmd+A on macOS, which can open "About This Mac"

Offen
#3,987 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

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
Bereich
testing, tooling

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

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus callstack/agent-device

Alle Issues in callstack/agent-device

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.