selenium快速跳转视图到指定元素

首先判断元素是否存在,如果存在的时候使用location_once_scrolled_into_view就可以滚动到某个元素处,也就是滚动直到这个元素出现在屏幕里。

原文地址:https://www.cnblogs.com/hushaojun/p/7043817.html