Appium获取页面source_page()卡死解决办法
2019-05-14 本文已影响0人
WangLane
Appium在获取某些页面的时候会卡死,按下返回键就可以获取到。但是程序中会卡死住。
解决办法:
driver.background_app(1)
这个要等页面加载完才行
新的解决方法:
连接appium的时候指定uiautomator2
automationName = 'UiAutomator2'
Appium在获取某些页面的时候会卡死,按下返回键就可以获取到。但是程序中会卡死住。
解决办法:
driver.background_app(1)
这个要等页面加载完才行
新的解决方法:
连接appium的时候指定uiautomator2
automationName = 'UiAutomator2'