Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
执行需要 4 秒。正常吗?我正在开发一种搜索方法,它在元素树中爬行,但在每次迭代中,当我调用元素的 elements() 方法时,它会保持 4 秒。树中有 15 个节点,需要一分钟!关于如何找到元素的任何想法?
使用方法 onUIATarget减少默认超时(5 秒),例如pushTimeout(0.5).
UIATarget
pushTimeout(0.5)