input: 
  from typing import Tuple
  from selenium import webdriver
  from selenium.webdriver.common.keys import Keys
  import time
  
  def automate_login_with_selenium(website_url: str, username: str, password: str) -> Tuple[bool, str]:
      """ Automate the login process using Selenium in a given website.
      Returns a tuple where the first element is a boolean indicating whether the login was successful, and the second element is a message describing the outcome.
      
      >>> automate_login_with_selenium('http://www.example.com', 'myusername', 'mypassword')
      (True, 'Login successful!')
      >>> automate_login_with_selenium('http://www.example.com', 'wrongusername', 'wrongpassword')
      (False, 'Login failed!')
      """
      # Initialize web driver
      driver = webdriver.Chrome()
  
      try:
          # Navigate to the target web page
          driver.get(website_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)
  
          # Check if login was successful
          if 'Login successful!' in driver.page_source:
              return (True, 'Login successful!')
          else:
              return (False, 'Login failed!')
      finally:
          driver.close()
  
output:     except Exception as e:
          return (False, f'An error occurred: {str(e)}')