input: from typing import List
  
  def scrape_online_store(url: str, search_keyword: str, product_class_name: str) -> List[str]:
      """This function creates a web scraping tool using Selenium to extract product names from an online store.
      It navigates to the provided URL, searches for the given keyword, and retrieves the names of all products
      displayed after the search.
      
      >>> scrape_online_store("https://www.example.com/", "shoes", "product")
      ['Product Name 1', 'Product Name 2']
      >>> scrape_online_store("https://www.sample-store.com/", "bags", "item")
      ['Sample Bag', 'Designer Bag']
      """
      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 and search for the given keyword
      search_field = driver.find_element_by_name("q")
      search_field.clear()
      search_field.send_keys(search_keyword)
      search_field.submit()
  
      # Get the list of elements displayed after the search
      product_list = driver.find_elements_by_class_name(product_class_name)
  
      # Retrieve and return the text (product names) of each element
      products = [product.text for product in product_list]
  
      # Close the browser window
      driver.quit()
  
      return products
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_all_elements_located((By.CLASS_NAME, product_class_name))
      )
  
      # Get the list of elements displayed after the search
      product_list = driver.find_elements_by_class_name(product_class_name)
  
      # Retrieve and return the text (product names) of each element
      products = [product.text for product in product_list]
  
      # Close the browser window
      driver.quit()
  
      return products