input: from typing import List
  
  
  def scrape_online_store(url: str, search_term: str, product_class: str) -> List[str]:
      """ Use Selenium webdriver to retrieve product names from an online store after performing a search.
      >>> scrape_online_store("https://www.example.com/", "shoes", "product")
      ['Running Shoes', 'Casual Shoes']
      """
      
      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_class)
  
      # iterate through each element and collect the text that is
      # name of the product
      products = [product.text for product in product_list]
  
      # close the browser window
      driver.quit()
      
      return products
output:     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_class)
  
      # iterate through each element and collect the text that is
      # name of the product
      products = [product.text for product in product_list]
  
      # close the browser window
      driver.quit()
      
      return products