def click_delete_group(self): self._root_element.find_element( *self._delete_group_button_locator).click() from pages.groups_page import GroupsPage return GroupsPage(self.base_url, self.selenium)
def delete_group(self): self.selenium.find_element(*self._delete_group_button).click() from pages.groups_page import GroupsPage return GroupsPage(self.base_url, self.selenium)
def groups_page(driver): return GroupsPage(driver)
def click_find_group_link(self): self.selenium.find_element(*self._find_group_page).click() return GroupsPage(self.base_url, self.selenium)
def delete_group(self): self.wait.until( expected.visibility_of_element_located( self._delete_group_button)).click() from pages.groups_page import GroupsPage return GroupsPage(self.selenium, self.base_url)
def click_groups_menu_item(self): self.click_options() self.find_element(*self._groups_menu_item_locator).click() from pages.groups_page import GroupsPage return GroupsPage(self.selenium, self.base_url)
def click_find_group_link(self): self.selenium.find_element(*self._find_group_page).click() return GroupsPage(self.testsetup)