Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

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

Abierto
#3,987 2 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

@thymikee ya está trabajando en esto.

Desde el 28/10/2026.

  • #4015 de @thymikee — abierto

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
62/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
node.js, typescript, web-dev
Área
testing, tooling

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

bug in-progress ready-for-agent

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:.

Lenguaje dominante
TypeScript
Estrellas
5.2k
Forks
359
Merge medio
12 h 54 min
PR fusionados (30 d)
637

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de callstack/agent-device

Todos los issues de callstack/agent-device

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.