input: from selenium import webdriver
  from selenium.webdriver.common.keys import Keys
  import time
  
  def automate_login(website_url, username_value, password_value):
      """
      Automates the login process on a given website using Selenium.
  
      >>> automate_login('http://www.example.com', 'my_username', 'my_password')
      Login successful!
      """
      # Initialize web driver
      driver = webdriver.Chrome()
  
      # Navigate to the target web page
      driver.get(website_url)
  
      # Locate username field
      username = driver.find_element_by_name('username')
  
      # Enter username
      username.send_keys(username_value)
  
      # Locate password field
      password = driver.find_element_by_name('password')
  
      # Enter password
      password.send_keys(password_value)
  
      # 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:     # Check if login was successful
      try:
          driver.find_element_by_xpath("//*[contains(text(), 'Welcome')]")
      except:
          print('Login failed!')
          driver.close()
          return