在夜神模拟器执行报错
self.driver.make_gsm_call('5551234567', GsmCallActions.CALL)
意思是gsmCall这个命令不支持,只支持下面这些命令
selenium.common.exceptions.UnknownMethodException: Message: Unknown mobile command "gsmCall". Only shell,execEmuConsoleCommand,dragGesture,flingGesture,doubleClickGesture,longClickGesture,pinchCloseGesture,pinchOpenGesture,swipeGesture,scrollGesture,scrollBackTo,scroll,viewportScreenshot,viewportRect,deepLink,startLogsBroadcast,stopLogsBroadcast,acceptAlert,dismissAlert,batteryInfo,deviceInfo,getDeviceTime,changePermissions,getPermissions,performEditorAction,startScreenStreaming,stopScreenStreaming,getNotifications,listSms,type,sensorSet,deleteFile,clearApp,startActivity,startService,stopService,broadcast,getContexts,installMultipleApks,unlock commands are supported.
gsmCall方法只适用于emulators,这里的emulators是指的Android SDK自带的模拟器,还是一般模拟器?文章来源:https://www.toymoban.com/news/detail-634371.html
An unknown server-side error occurred while processing the command. Original error: gsmCall method is only available for emulators文章来源地址https://www.toymoban.com/news/detail-634371.html
到了这里,关于Original error: gsmCall method is only available for emulators的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!