最近遇到相似的问题,解决方案是
driver.update_settings({"waitForIdleTimeout": 100})
要注意看下静置时 CPU 的消耗情况
参考链接:
https://github.com/appium/appium/issues/14349
https://developer.android.com/reference/android/support/test/uiautomator/Configurator#setWaitForIdleTimeoutlong)(