code: def submit(self, selector, by=By.CSS_SELECTOR):
          
          if page_utils.is_xpath_selector(selector):
              by = By.XPATH
          element = self.wait_for_element_visible(
              selector, by=by, timeout=settings.SMALL_TIMEOUT)
          element.submit()
          self.__demo_mode_pause_if_active()
docs: Alternative to self.driver.find_element_by_*(SELECTOR).submit()