Python Appium 输入法切换
来源:互联网 发布:友情链接网站源码 编辑:程序博客网 时间:2024/04/29 22:21
#coding=utf-8import sysreload(sys)sys.setdefaultencoding('utf8')import oscommand0 ='adb shell ime list -s'command1 ='adb shell settings get secure default_input_method'command2 ='adb shell ime set com.android.inputmethod.latin/.LatinIME'command3 ='adb shell ime set io.appium.android.ime/.UnicodeIME'#列出系统现在所安装的所有输入法#os.system(command0)#打印系统当前默认的输入法#os.system(command1)#切换latin输入法为当前输入法#os.system(command2)#切换appium输入法为当前输入法#os.system(command3)class InputMethod: #切换latin输入法为当前输入法def enableLatinIME(self): os.system(command2) #切换appium输入法为当前输入法def enableAppiumUnicodeIME(self): os.system(command3)
0 0
- Python Appium 输入法切换
- 切换输入法
- 输入法切换
- appium-python
- Appium切换到webview
- appium之Context切换
- appium混合测试切换
- Appium: 如何隐藏中文输入法
- python+appium切换微信端的webview。新建测试交流群651385084
- appium切换Native_app和webview_1
- C# 输入法切换类
- 输入法自动切换
- 输入法不能切换
- 修复“无法切换输入法”
- C#切换中文输入法
- 键盘无法切换输入法
- 输入法切换设置
- Android 切换输入法
- git命令简写--配置文件
- mysql (基础篇)---增删改数据
- C#2D游戏开发之感
- NSDate与NSString的互相转化
- Linux内核多线程(二)
- Python Appium 输入法切换
- hadoop启动常见指令和问题
- Mybatis Generator最完整配置详解
- 国内外GIS基础软件对比分析优缺特性及实际工作生产应用和成功案例综合评价
- 单独运行shell脚本与crontab运行shell脚本的区别
- 网络安全之一
- Google VR平台 Daydream:一起来做白日梦吧
- hashmap的原理
- 算法加密