You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Android] snapshot -i drops dialog title and message text #4484
Environment: agent-device 0.21.36, macOS (Apple silicon). Android 17 emulator (Google APIs, arm64), Settings app; iOS 27.2 Simulator (iPhone 18 Pro). Found while benchmarking agent-device against an adb/AXe stack: https://codebyramiz.com/blog/mobile-mcp-agent-device/
Steps: Settings > About emulated device > Device name (AlertDialog with an EditText). Type a name, press OK; a second confirmation dialog appears with a warning.
Actual:snapshot -i showed only the text field, the button panel, Cancel and OK (5 nodes). The dialog title ("Device name") and the second dialog's warning ("Your device name is visible to apps you installed...") appear only in the full snapshot. With -i alone, the second dialog is 3 nodes (button panel, Cancel, OK) and says nothing about what OK agrees to. The full snapshot shows the title but truncates the warning.
Suggestion: Keep a modal's title and message (non-interactive text inside the dialog) in -i output, the same way list-row labels are kept.
Fixed by #4493 (merged): Android snapshot -i now keeps an alert dialog's title and message, so the agent can read what OK agrees to. It ships in the next release. Thanks for the clear repro.
Activity
thymikee commentedon Nov 12, 2026
Fixed by #4493 (merged): Android
snapshot -inow keeps an alert dialog's title and message, so the agent can read what OK agrees to. It ships in the next release. Thanks for the clear repro.