windows
adb shell dumpsys window w |grep \/ |grep name=
adb shell dumpsys window | findstr mCurrentFocus
mac(linux)
adb shell dumpsys window | grep mFocused
adb shell dumpsys window w |grep \/ |grep name=
adb shell dumpsys window | findstr mCurrentFocus
adb shell dumpsys window | grep mFocused