示例#1
0
 def click_login(self):
     login_button = self.driver.find_element_by_css_selector(
         "button.form-control")
     UiUtil.click(login_button)
示例#2
0
 def logout(self):
     ele = self.driver.find_element_by_xpath('//*[text()="注销"]')
     UiUtil.click(ele)
示例#3
0
 def click_login_button(self):
     login_button_element = UiUtil.find_elment('login', 'login_button')
     UiUtil.click(login_button_element)
示例#4
0
 def click_type(self):
     element = UiUtil.find_elment('save', 'type_click')
     UiUtil.click(element)
示例#5
0
 def click_save(self):
     element = UiUtil.find_elment('save', 'text')
     UiUtil.click(element)
     pass
示例#6
0
 def click_vip(self):
     ele = self.driver.find_element_by_link_text("会员管理")
     UiUtil.click(ele)
示例#7
0
 def vip_query(self):
     ele = self.driver.find_element_by_xpath(
         "/html/body/div[4]/div[1]/form[2]/div[2]/button[1]")
     UiUtil.click(ele)