input: 
  def automate_login(website_url: str, username_field: str, password_field: str, submit_field: str, username: str, password: str) -> str:
      """ Automates the login process on a given website using Selenium.
      The function initializes the web driver, navigates to the website,
      enters the username and password, clicks the submit button, and waits
      for the login process to complete.
      >>> automate_login('http://www.example.com', 'username', 'password', 'submit', 'testuser', 'testpass')
      'Login successful!'
      """
  
output:     from selenium import webdriver
      from selenium.webdriver.common.by import By
      from selenium.webdriver.common.keys import Keys
      from selenium.webdriver.support.ui import WebDriverWait
      from selenium.webdriver.support import expected_conditions as EC
  
      driver = webdriver.Chrome()
      driver.get(website_url)
  
      try:
          username_input = WebDriverWait(driver, 10).until(
              EC.presence_of_element_located((By.NAME, username_field))
          )
          password_input = WebDriverWait(driver, 10).until(
              EC.presence_of_element_located((By.NAME, password_field))
          )
          submit_button = WebDriverWait(driver, 10).until(
              EC.presence_of_element_located((By.NAME, submit_field))
          )
  
          username_input.send_keys(username)
          password_input.send_keys(password)
          submit_button.click()
  
          WebDriverWait(driver, 10).until(
              EC.url_changes(website_url)
          )
  
          return 'Login successful!'
      except Exception as e:
          return str(e)
      finally:
          driver.quit()