code: def select_from_drop_down_by_value(self, locator, value, params=None):
          
          from selenium.webdriver.support.ui import Select
  
          element = locator
          if not isinstance(element, WebElement):
              element = self.get_present_element(locator, params)
  
          Select(element).select_by_value(value)
docs: Select option from drop down widget using value.
  
          :param locator: locator tuple or WebElement instance
          :param value: string
          :param params: (optional) locator parameters
          :return: None