input: Write a function that creates a web scraper using Python’s Selenium to retrieve data from an online store. The function should navigate to the store's homepage, perform a search for a specific keyword, and print the names of the products found. The function should close the browser window once the task is complete.
  assert web_scraper("https://www.example.com/", "shoes")==['Red Shoes', 'Blue Shoes', 'Black Shoes']
  assert web_scraper("https://www.example.com/", "jackets")==['Leather Jacket', 'Denim Jacket', 'Puffer Jacket']
  assert web_scraper("https://www.example.com/", "books")==[]
output: def web_scraper(url, keyword):
      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(url)
      
      search_box = driver.find_element(By.NAME, "q")
      search_box.send_keys(keyword)
      search_box.send_keys(Keys.RETURN)
      
      time.sleep(2)
      
      product_names = []
      products = driver.find_elements(By.CLASS_NAME, "product-name")
      for product in products:
          product_names.append(product.text)
      
      driver.quit()
      return product_names