input: Write a function to create a web scraper using Python’s Selenium that retrieves data from an online store. The function should open a Firefox browser session, navigate to a specified URL, search for a given keyword, and print the text of each product displayed in the search results. The function should close the browser window after completing the task.
  assert web_scraper("https://www.example.com/", "shoes") == None
  assert web_scraper("https://www.example2.com/", "shirts") == None
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.Firefox()
      driver.get(url)
      
      search_box = driver.find_element(By.NAME, "q")
      search_box.send_keys(keyword)
      search_box.send_keys(Keys.RETURN)
      
      time.sleep(5)  # Wait for the search results to load
      
      products = driver.find_elements(By.CLASS_NAME, "product-title")
      for product in products:
          print(product.text)
      
      driver.quit()