20 AI testers on 20 different phones, in parallel, on GitHub's free runners: Claude Code agents on iOS Simulators and Android emulators that find broken flows, translation, layout and accessibility bugs
Python accessibility-testingai-agentsai-testingandroidandroid-emulatorclaudeclaude-codee2e-testingexploratory-testingexpofluttergithub-actionsiosios-simulatorllmmobile-testingqareact-nativetest-automationui-testing
"""Replaces the focused field's content. adb cannot type accents: they are
stripped. Usage: python3 scripts/android/type.py "text" """
import re, subprocess, sys, unicodedata
t = unicodedata.normalize("NFKD", sys.argv[1]).encode("ascii", "ignore").decode()
subprocess.run(["adb", "shell", "input", "keyevent", "KEYCODE_MOVE_END"])
subprocess.run(["adb", "shell", "input", "keyevent", *(["67"] * 40)]) # 40 backspaces
t = re.sub(r"([\\'\"`$&|;<>()*~#])", r"\\\1", t).replace(" ", "%s")
subprocess.run(["adb", "shell", "input", "text", t])
print("typed: check it on the next screenshot")