def test_03_landing_page(self):

        try:
            learn = CommonFunc().wait_visibility(10, By.XPATH, Locator.learn)

        except NoSuchElementException:
            print('Learn not present')

        try:
            quiz = driver.find_element_by_xpath(Locator.quiz)

        except NoSuchElementException:
            print('quiz not present')

        try:
            logout = driver.find_element_by_xpath(Locator.logout)

        except NoSuchElementException:
            print('logout not present')

        learn.click()
    def test_08_check_badge_sidebar_navigation(self):
        sleep(2)

        badge = CommonFunc().wait_presence(10, By.ID, Locator.badge)
        badge.click()

        try:
            badge_sidebar = driver.find_element_by_css_selector(
                Locator.badge_sidebar)
            badge_sidebar.is_displayed()

        except :
            print('badge sidebar is not active')
        badge.click()

        sleep(2)

        profile_page_back = CommonFunc().wait_visibility(10, By.ID, Locator.profile_page_back)     
        
        profile_page_back.click()