code: def switch_to_frame(self, frame, timeout=settings.SMALL_TIMEOUT):
          
          if self.timeout_multiplier and timeout == settings.SMALL_TIMEOUT:
              timeout = self.__get_new_timeout(timeout)
          page_actions.switch_to_frame(self.driver, frame, timeout)
docs: Sets driver control to the specified browser frame.