def goto_registry(self): self.find((By.LINK_TEXT, "企业注册")).click() return Register(self._driver)
def goto_register(self): self.driver.find_element(By.LINK_TEXT, "立即注册").click() return Register(self.driver)
def goto_register(self): self._driver.find_element(By.LINK_TEXT, '企业注册').click() return Register(self._driver)
def register(self): self._driver.find_element(*self._register_bar).click() return Register(self._driver)
def goto_register(self): # 封装PO,企业微信首页的立即注册抽象为goto_register方法 self.find((By.LINK_TEXT, '立即注册')).click() return Register(self._driver) # click完如果跳转到新的页面,则返回新的页面(即PO)
def goto_register(self): """跳转注册页面""" self._driver.find_element_by_link_text("立即注册").click() return Register(self._driver)
def goto_register(self): self.find((By.LINK_TEXT, '立即注册')).click() return Register(self._driver)
def to_register(self): # 点击注册 self.driver.find_element(By.CSS_SELECTOR, '.login_registerBar_link').click() return Register(self.driver)
def goto_register(self): # 点击注册按钮 self.driver.find_element(By.CSS_SELECTOR, ".index_head_info_pCDownloadBtn").click() # 跳转注册页面 return Register(self.driver)
def goto_register(self): self._driver.find_element(By.CSS_SELECTOR, '.index_head_info_pCDownloadBtn').click() # 点击立即注册 return Register(self._driver)
def goto_register(self): self._driver.find_element(By.LINK_TEXT, "立即注册").click() # 创建register实例后,可调用register中的方法 return Register(self._driver)