def open_project(self, project_name): """ Clicks the named link. Returns :class:`WorkspacePage`. """ element = WebDriverWait(self.browser, TMO).until( lambda browser: browser.find_element_by_link_text(project_name)) element.click() from workspace import WorkspacePage return WorkspacePage.verify(self.browser, self.port)
def open_project(self, project_name): """ Clicks the named link. Returns :class:`WorkspacePage`. """ self.search_input = project_name element = WebDriverWait(self.browser, TMO).until( lambda browser: browser.find_element_by_link_text(project_name)) element.click() from workspace import WorkspacePage return WorkspacePage.verify(self.browser, self.port)
def load_project(self): """ Clicks the 'load' button. Returns :class:`WorkspacePage`. """ self('load_button').click() from workspace import WorkspacePage return WorkspacePage.verify(self.browser, self.port)