xpath

//*[@text='基金']

//*[@text='基金' and @instance=4]

 //*[@resource-id='com.xueqiu.android:id/buttons_container']//*[@text='基金'] # 根据父类查找子类

//*[contains(@resource-id,'buttons_container')]//*[@text='基金']

原文地址:https://www.cnblogs.com/godlove/p/11915481.html