1、在尝试换了多种输入法后均未起作用
2、最终换Appium输入法
- 安装Appium输入法
npm i android-unicode --save
- 切换手机输入法
在手机设置中切换
- 在代码中添加下面的代码
desired_caps['resetKeyboard'] = 'true'
desired_caps['unicodeKeyboard'] = 'true'
搞定~
1、在尝试换了多种输入法后均未起作用
2、最终换Appium输入法
npm i android-unicode --save
在手机设置中切换
desired_caps['resetKeyboard'] = 'true'
desired_caps['unicodeKeyboard'] = 'true'
搞定~