赞
踩
pycharm中执行os.popen(appium)一直卡在运行脚本界面,不报错也没有任何反应,在CMD中正常运行。
跑后面server脚本的时候,报错如下:
None
C:\Users\uidq1501\AppData\Roaming\npm\node_modules\appium\build\lib\main.js: error: Unrecognized arguments: --.
usage: C:\Users\uidq1501\AppData\Roaming\npm\node_modules\appium\build\lib\main.js
[-h] [-v] [–shell] [–reboot] [–ipa IPA] [-a ADDRESS] [-p PORT]
[-ca CALLBACKADDRESS] [-cp CALLBACKPORT] [-bp BOOTSTRAPPORT]
[-r BACKENDRETRIES] [–session-override] [-l] [-g LOG]
[–log-level {info,info:debug,info:info,info:warn,info:error,warn,warn:debug,warn:info,warn:warn,warn:error,error,error:debug,error:info,error:warn,error:error,debug,debug:debug,debug:info,debug:warn,debug:error}]
[–log-timestamp] [–local-timezone] [–log-no-colors] [-G WEBHOOK]
[–safari] [–default-device] [–force-iphone] [–force-ipad]
[–tracetemplate AUTOMATIONTRACETEMPLATEPATH]
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。