代码中有大量的 location,size 获取的操作。这两个操作会每次驱动截屏,然后延时?
info: [debug] [INST] 2015-03-30 08:00:21 +0000 Debug: target.captureRectOnScreenWithName("{origin:{x:0.00,y:0.00}, size:{height:667.00,width:375.00}}", UIScreen, "screenshotcbae0805-6e56-4cb3-8e26-5941505ab22f")
info: [debug] Socket data received (25 bytes)
info: [debug] Socket data being routed.
info: [debug] Got result from instruments: {"status":0,"value":""}
info: [debug] Waiting 10000 ms for screenshot to ge generated.
截个控件大概要 30s 的时间,appium 有大量的延时截屏的操作。
请问有没有办法压缩这个时间?