text: import utilities.custom_logger as cl
  import logging
  from base.basepage import BasePage
  
  class NavigationPage(BasePage):
  
      log = cl.customLogger(logging.DEBUG)
  
      def __init__(self, driver):
          super().__init__(driver)
          self.driver = driver
  
      # Locators
      _my_courses = "All Courses"
      _all_courses = "My Courses"
      _practice = "Practice"
      _user_settings_icon = "//div[@id='navbar']//span[text()='User Settings']"
  
      def navigateToAllCourses(self):
          self.elementClick(locator=self._all_courses, locatorType="link")
  
      def navigateToMyCourses(self):
          self.elementClick(locator=self._my_courses, locatorType="link")
  
      def navigateToPractice(self):
          self.elementClick(locator=self._practice, locatorType="link")
  
      def navigateToUserSettings(self):
          self.elementClick(locator=self._user_settings_icon, locatorType="xpath")