1
我更喜欢使用visibilitOfElementLocated
来定位超过presenceOfElementLocated
的元素。 原因是这样做的工作也是presenceOfElementLocated
(纠正我,如果我错了)。visibilityOfElementLocated v/s presenceOfElementLocated(selenium webdriver - Java)
但是有几种情况,我可以通过使用presenceOfElementLocated
来实现我的目标,而我使用的是visibilityOfElementLocated
。
问:
-
将
- 这种影响我的代码的性能(时间)?
(或者让我重新整理)
- 会如果我改变一个合适的对
presenceOfElementLocated
性能(时间)提高?