input: 
  from selenium import webdriver
  from selenium.webdriver.common.keys import Keys
  import time
  
  def automate_login(website: str, username_str: str, password_str: str) -> None:
      """ Automates the login process on a given website using Selenium.
      >>> automate_login('http://www.example.com', 'username', 'password')
      Login successful!
      """
      driver = webdriver.Chrome()
      driver.get(website)
      username = driver.find_element_by_name('username')
      username.send_keys(username_str)
      password = driver.find_element_by_name('password')
      password.send_keys(password_str)
      submit_button = driver.find_element_by_name('submit')
      submit_button.click()
      time.sleep(5)
      print('Login successful!')
      driver.close()
  
output:     driver = webdriver.Chrome()
      driver.get(website)
      username = driver.find_element_by_name('username')
      username.send_keys(username_str)
      password = driver.find_element_by_name('password')
      password.send_keys(password_str)
      submit_button = driver.find_element_by_name('submit')
      submit_button.click()
      time.sleep(5)
      print('Login successful!')
      driver.close()