code: def resolve_selector_type(self):
          
          resolved_selector_type_list = []
          for current_selector in self._effective_selector_list:
              resolved_selector_type_list.append(self.get_type(current_selector))
  
          set_ = set(resolved_selector_type_list)
  
          # VALIDATE THAT ALL SELECTOR ARE OF THE SAME TYPE
          if len(set_) != 1:
              raise Exception("""
                  If you provide a list of selector then
                  all selectors must be of the same type
              """)
          else:
              return set_.pop()
docs: Resolve the selector type
  
          This make sure that all the selectors
          provided are of the same type (in case of a list of selector)