def Mc_detail(self): fo = HomePage(self.driver) fo.MemberCenter() print('点击查看详细信息') self.find_element(*self.detail).click() time.sleep(2) print('查看成功!')
def Mc_swip(self): ho = HomePage(self.driver) ho.MemberCenter() po = Operation(self.driver) po.swipeUp()