input: 
  def automate_login(website: str, username: str, password: str) -> None:
      """ Automates the login process on a given website using Selenium.
      Initializes the web driver, navigates to the target webpage, enters
      the username and password, clicks the submit button, and prints a
      success message.
      >>> automate_login('http://www.example.com', 'testuser', 'testpassword')
      Login successful!
      """
  
output:     from selenium import webdriver
      from selenium.webdriver.common.by import By
      from selenium.webdriver.common.keys import Keys
  
      # Initialize the web driver
      driver = webdriver.Chrome()
  
      # Navigate to the target webpage
      driver.get(website)
  
      # Enter the username
      username_field = driver.find_element(By.NAME, 'username')
      username_field.send_keys(username)
  
      # Enter the password
      password_field = driver.find_element(By.NAME, 'password')
      password_field.send_keys(password)
  
      # Click the submit button
      submit_button = driver.find_element(By.NAME, 'submit')
      submit_button.click()
  
      # Print a success message
      print("Login successful!")
  
      # Close the web driver
      driver.quit()