input: 
  from selenium import webdriver
  from selenium.webdriver.common.keys import Keys
  import time
  
  def automate_login(website: str) -> bool:
      """Automate the login process for a given website using Selenium.
      The function will initialize a web driver, navigate to the target website,
      enter the username and password, and attempt to login.
      >>> automate_login('http://www.example.com')
      True
      """
      driver = webdriver.Chrome()
      driver.get(website)
      
      username = driver.find_element_by_name('username')
      username.send_keys('username')
      
      password = driver.find_element_by_name('password')
      password.send_keys('password')
      
      submit_button = driver.find_element_by_name('submit')
      submit_button.click()
      
      time.sleep(5)
      
      print('Login successful!')
      driver.close()
      return True
  
output:     try:
          assert "Dashboard" in driver.title
      except AssertionError:
          print('Login failed!')
          driver.close()
          return False