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.
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/90705.html
標籤:軟件測試
上一篇:ip規劃
下一篇:中國人彩色人臉資料庫
