def do_login(self, username, password, verifycode):
     Web.open_page()
     self.login.username_text().send_keys(username)
     self.login.password_text().send_keys(password)
     self.login.verifycode_text().send_keys(verifycode)
     self.login.login_button().click()
     time.sleep(1)
 def prepare(self):
     try:
         Web.show_wait(By.ID,"username",timeout=15)
     except:
         Web.open_page()