input: from typing import List
  
  def scrape_online_store(url: str, search_term: str) -> List[str]:
      """Create a webscraper using Python’s Selenium that retrieves the names of products from an online store based on a search term.
      >>> scrape_online_store("https://www.example.com/", "shoes")
      ['Product A', 'Product B', 'Product C']
      """
      from selenium import webdriver
  
      # create a new Firefox session
      driver = webdriver.Firefox()
      driver.implicitly_wait(30)
      driver.maximize_window()
  
      # navigate to the application home page
      driver.get(url)
  
      # get the search textbox
      search_field = driver.find_element_by_name("q")
      search_field.clear()
  
      # enter search keyword and submit
      search_field.send_keys(search_term)
      search_field.submit()
  
      # get the list of elements which are displayed after the search
      # currently on result page using find_elements_by_class_name
      product_list = driver.find_elements_by_class_name("product")
  
      # collect the text names of the products
      product_names = [product.text for product in product_list]
  
      # close the browser window
      driver.quit()
  
      return product_names
output:     from selenium.webdriver.common.by import By
      from selenium.webdriver.support.ui import WebDriverWait
      from selenium.webdriver.support import expected_conditions as EC
  
      # wait for the search results to load
      WebDriverWait(driver, 10).until(
          EC.presence_of_element_located((By.CLASS_NAME, "product"))
      )
  
      # get the list of elements which are displayed after the search
      # currently on result page using find_elements_by_class_name
      product_list = driver.find_elements_by_class_name("product")
  
      # collect the text names of the products
      product_names = [product.text for product in product_list]
  
      # close the browser window
      driver.quit()
  
      return product_names