input: 
  def automate_login(url: str, username: str, password: str) -> None:
      """Automate the login process for a given website using Selenium.
      The function initializes a Chrome web driver, navigates to the specified URL,
      locates the username and password fields, enters the provided credentials,
      clicks the submit button, and prints a message upon successful login.
      Finally, it closes the browser.
      >>> automate_login('http://www.example.com', 'myusername', 'mypassword')
      Login successful!
      """
      
      from selenium import webdriver
      from selenium.webdriver.common.keys import Keys
      import time
  
      # Initialize web driver
      driver = webdriver.Chrome()
  
      # Navigate to the target web page
      driver.get(url)
  
      # Locate username field
      username_field = driver.find_element_by_name('username')
  
      # Enter username
      username_field.send_keys(username)
  
      # Locate password field
      password_field = driver.find_element_by_name('password')
  
      # Enter password
      password_field.send_keys(password)
  
      # Locate submit button
      submit_button = driver.find_element_by_name('submit')
  
      # Click submit button
      submit_button.click()
  
      # Wait for login process to complete
      time.sleep(5)
  
      # Login successful
      print('Login successful!')
  
      driver.close()
  
output:     from selenium import webdriver
      from selenium.webdriver.common.keys import Keys
      import time
  
      # Initialize web driver
      driver = webdriver.Chrome()
  
      # Navigate to the target web page
      driver.get(url)
  
      # Locate username field
      username_field = driver.find_element_by_name('username')
  
      # Enter username
      username_field.send_keys(username)
  
      # Locate password field
      password_field = driver.find_element_by_name('password')
  
      # Enter password
      password_field.send_keys(password)
  
      # Locate submit button
      submit_button = driver.find_element_by_name('submit')
  
      # Click submit button
      submit_button.click()
  
      # Wait for login process to complete
      time.sleep(5)
  
      # Login successful
      print('Login successful!')
  
      driver.close()