uiscrollable 滑动查找
driver.find_element_by_android_uiautomator( 'new UiScrollable(new UiSelector().className("android.widget.HorizontalScrollView")).scrollIntoView(new UiSelector().text("' + action_dict['location'] + '"))').click() 使用这种方法滑动查找,界面内的可以找到,超出界面的就滑动到中间那个就不动了,这是怎么回事呢?错误提示:
selenium.common.exceptions.NoSuchElementException: Message: An element could not be located on the page using the given search parameters.
边界设置的有问题
页:
[1]