提示“Unresolved attribute reference 'find_elemnt_by_android_uiautomator' for class 'WebDriver' ”

想学习使用Android UiAutomator定位元素,但是提示“Unresolved attribute reference ‘find_elemnt_by_android_uiautomator’ for class ‘WebDriver’ ,”是怎么回事啊

开头加了from appium import webdriver

已经在caps中加了"uiautomationName":‘UiAutomator2’,

用find element + appiumby 组合

谢谢老师,主要是想用里面的滚动查找元素,该怎么用?