input: Write a function to create a web scraper using Python's Selenium that retrieves data from an online store. The function should take no input and return a string representing the text of the products found on the store's webpage after performing a search. Ensure the function uses Firefox and waits implicitly for elements to load.
  from selenium import webdriver
  
  def scrape_online_store():
      # create a new Firefox session
      driver = webdriver.Firefox()
      driver.implicitly_wait(30)
      driver.maximize_window()
      
      # navigate to the application home page
      driver.get("https://www.example.com/")
      
      # get the search textbox
      search_field = driver.find_element_by_name("q")
      search_field.clear()
      
      # enter search keyword and submit
      search_field.send_keys("shoes")
      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")
      
      # initialize an empty string to hold the product names
      product_names = ""
      
      # iterate through each element and append the text to the product_names string
      for product in product_list:
          product_names += product.text + "\n"
      
      # close the browser window
      driver.quit()
      
      return product_names.strip()
  
  # assert tests to ensure function works as expected
  assert scrape_online_store() == "Product 1\nProduct 2\nProduct 3"
  assert scrape_online_store() == "Product A\nProduct B\nProduct C"
output: from selenium import webdriver
  
  def scrape_online_store():
      driver = webdriver.Firefox()
      driver.implicitly_wait(30)
      driver.maximize_window()
      driver.get("https://www.example.com/")
      search_field = driver.find_element_by_name("q")
      search_field.clear()
      search_field.send_keys("shoes")
      search_field.submit()
      product_list = driver.find_elements_by_class_name("product")
      product_names = ""
      for product in product_list:
          product_names += product.text + "\n"
      driver.quit()
      return product_names.strip()