from selenium.webdriver.common.by import By


# 个人中心 日记按钮
me_diary = [(By.XPATH,'//android.view.View[@content-desc="0 日记"]',5)]

# 个人中心 收藏列表
collection_list = [(By.ID,'com.wanmeizhensuo.zhensuo:id/welfareItem_rl',5),(By.XPATH,'/hierarchy/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.LinearLayout/androidx.viewpager.widget.ViewPager/android.widget.RelativeLayout/android.view.ViewGroup/androidx.recyclerview.widget.RecyclerView/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.RelativeLayout',5)]

# 我的订单按钮
my_order = [(By.XPATH,'//android.widget.ImageView[@content-desc="我的订单"]',5)]

#美券按钮
American_securities = [(By.XPATH,'//android.widget.ImageView[@content-desc="美券"]',5)]

# 美分商城点击
cent = [(By.XPATH,'//android.widget.ImageView[@content-desc="美分商城"]',5)]

# 关注点击
follow = [(By.XPATH,'//android.view.View[@content-desc="关注 4"]',5)]

rijitie = [(By.XPATH,'/hierarchy/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.HorizontalScrollView/android.widget.LinearLayout/android.widget.RelativeLayout[3]/android.widget.TextView',5)]

rijitietab_click = [(By.ID,'com.wanmeizhensuo.zhensuo:id/diary_item_tv_content',5),(By.XPATH,'/hierarchy/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.LinearLayout/androidx.viewpager.widget.ViewPager/android.widget.RelativeLayout/android.view.ViewGroup/androidx.recyclerview.widget.RecyclerView/android.widget.LinearLayout/android.widget.LinearLayout[1]/android.widget.TextView',5)]

answertab_click = [(By.XPATH,'/hierarchy/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.HorizontalScrollView/android.widget.LinearLayout/android.widget.RelativeLayout[5]',5)]

answerlist_click = [(By.ID,'com.wanmeizhensuo.zhensuo:id/personal_answer_tv_content',5),(By.XPATH,'/hierarchy/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.LinearLayout/androidx.viewpager.widget.ViewPager/android.widget.RelativeLayout/android.view.ViewGroup/androidx.recyclerview.widget.RecyclerView/android.widget.RelativeLayout[1]/android.widget.TextView[2]',5)]