Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

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

Fechada
#3,987 2 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

@thymikee já está trabalhando nisso.

Desde 28/10/2026.

  • #4015 de @thymikee — aberto

Avaliação

Dificuldade
3/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
62/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
node.js, typescript, web-dev
Domínio
testing, tooling

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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

Linguagem predominante
TypeScript
Estrelas
5.2k
Forks
359
Merge médio
12h 54min
PRs com merge (30d)
637

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de callstack/agent-device

Todas as issues de callstack/agent-device

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.