1、安装appium分两种,一种似直接安装的appium客户端,另一种是npm命令行安装,两种安装的目录是不同的,我的是命令行安装
客户端安装目录一般在:

命令行安装目录一般在:

2、找到这个目录:

注释掉:
await adb.install(unicodeIMEPath, {replace: false});
await helpers.pushSettingsApp(adb);
await helpers.pushUnlock(adb);

3、再找到这个目录:

注释掉标注的,
return _regeneratorRuntime.awrap(adb.install(_appiumAndroidIme.path, { replace: false }));
return _regeneratorRuntime.awrap(helpers.pushSettingsApp(adb));
return _regeneratorRuntime.awrap(helpers.pushUnlock(adb));
添加:return context$1$0.abrupt('return', defaultIME);


本文详细介绍了在使用Appium进行Android自动化测试时,如何通过注释特定代码来解决输入法配置问题,确保自动化测试流程的顺利进行。
535

被折叠的 条评论
为什么被折叠?



