input: Write a function to create a web scraper using Python’s Selenium that retrieves data from an online store. The function should initialize a Selenium webdriver, navigate to a specified URL, perform a search for a specific keyword, and then print the text of each product found. The function should handle closing the browser window at the end. 
  def web_scraper(url, keyword):
      from selenium import webdriver
      from selenium.webdriver.common.keys import Keys
  
      # create a new Firefox session
      driver = webdriver.Firefox()
      driver.implicitly_wait(30)
      driver.maximize_window()
      
      # navigate to the specified URL
      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(keyword)
      search_field.submit()
      
      # get the list of elements which are displayed after the search
      product_list = driver.find_elements_by_class_name("product")
      
      # iterate through each element and print the text that is the name of the product
      for product in product_list:
          print(product.text)
      
      # close the browser window
      driver.quit()
  
  assert web_scraper("https://www.example.com/", "shoes") is None
  assert web_scraper("https://www.anotherexample.com/", "t-shirts") is None
output: def web_scraper(url, keyword):
      from selenium import webdriver
      from selenium.webdriver.common.keys import Keys
  
      driver = webdriver.Firefox()
      driver.implicitly_wait(30)
      driver.maximize_window()
      
      driver.get(url)
      
      search_field = driver.find_element_by_name("q")
      search_field.clear()
      
      search_field.send_keys(keyword)
      search_field.submit()
      
      product_list = driver.find_elements_by_class_name("product")
      
      for product in product_list:
          print(product.text)
      
      driver.quit()