input: from typing import List
  
  def scrape_webstore(search_term: str) -> List[str]:
      """
      Create a webscraper using Python's Selenium that retrieves product names from an online store based on a search term.
      
      >>> scrape_webstore("shoes")
      ['Running Shoes', 'Casual Shoes', 'Sports Shoes']
      
      >>> scrape_webstore("phones")
      ['Smartphone X', 'Basic Phone', 'Phone Accessories']
      """
output:     from selenium import webdriver
      from selenium.webdriver.common.by import By
      from selenium.webdriver.common.keys import Keys
      import time
  
      driver = webdriver.Chrome()
      driver.get("https://example-webstore.com")
  
      search_box = driver.find_element(By.NAME, "q")
      search_box.send_keys(search_term)
      search_box.send_keys(Keys.RETURN)
  
      time.sleep(2)  # Wait for the page to load
  
      product_names = driver.find_elements(By.CLASS_NAME, "product-name")
      result = [product.text for product in product_names]
  
      driver.quit()
      return result