airtest.core.android.ime module
- class YosemiteIme(adb)[源代码]
基类:
CustomIme
Yosemite Input Method Class Object
- text(value)[源代码]
Input text with Yosemite input method
- 参数:
value – text to be inputted
- 返回:
output form adb shell command
- code(code)[源代码]
Sending editor action
- 参数:
code – editor action code, e.g., 2 = IME_ACTION_GO, 3 = IME_ACTION_SEARCH Editor Action Code Ref: http://developer.android.com/reference/android/view/inputmethod/EditorInfo.html
- 返回:
output form adb shell command