Hello sir, i need to send early access of my content to the top daily viewers of my broadcast.
So when i open my daily viewers list (screenshot 1)
xpath : /android.widget.FrameLayout/android.widget.FrameLayout/android.widget.FrameLayout[@android:id='@android:id/content']/android.widget.LinearLayout/androidx.viewpager.widget.ViewPager[@android:id='@sg.bigo.live:id/view_pager']/android.widget.RelativeLayout/android.widget.HorizontalScrollView[@android:id='@sg.bigo.live:id/tab_layout']/android.widget.LinearLayout/view[@class='androidx.appcompat.app.z$x' and @android:contentDescription='Daily']
i need to click on the viewer element (screenshot 2)
xpath : //androidx.recyclerview.widget.RecyclerView[@android:id='@sg.bigo.live:id/recycle_view']/android.widget.LinearLayout[{dailyviewer}][.//android.widget.TextView[@android:id='@sg.bigo.live:id/tv_value' and number(translate(@android:text, ',', '')) > 1000] ]
The problem i am getting is when i click on the viewers xpath it stars clicking on the elements in the hourly and weekly lists too.(scrrenshot3 and screenshot4).I need to bind the viewers xpath to the Daily xpath so that it only click the element under the daily list not under weekly or hourly lists.