def OperatorTools(self) -> link: # 1 # return link(self.webDriver, {By.ID: 'Menu_OperatorTools'}) # 2 elements = self.webDriver.find_elements(By.ID, 'Menu_OperatorTools') element = query(elements).first_or_default(None, lambda e: e.is_displayed()) return link(self.webDriver, None, element)
def EditYourProfile(self): return link(self.webDriver, {By.ID: 'editYourProfileLink'})
def Disclaimer(self): return link(self.webDriver, {By.ID: 'view-disclaimer'})
def Logout(self): return link(self.webDriver, {By.ID: 'Menu_Logout'})
def YourProfile(self): return link(self.webDriver, {By.ID: 'your-profile'})
def EditYourDetails(self): return link(self.webDriver, {By.ID: 'edit-your-profile'})
def CreateNewUserBeta(self): return link(self.webDriver, {By.ID: 'create-user'})
def UserProfile(self) -> link: return link(self.webDriver, {By.ID: 'Logged_Menu_User'})
def AccountsManagement(self) -> link: return link(self.webDriver, {By.ID: 'Menu_AccountsManagement'})