예제 #1
0
    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)
예제 #2
0
 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'})
예제 #7
0
 def CreateNewUserBeta(self):
     return link(self.webDriver, {By.ID: 'create-user'})
예제 #8
0
 def UserProfile(self) -> link:
     return link(self.webDriver, {By.ID: 'Logged_Menu_User'})
예제 #9
0
 def AccountsManagement(self) -> link:
     return link(self.webDriver, {By.ID: 'Menu_AccountsManagement'})