input: def automate_login_with_selenium(website_url: str, username_value: str, password_value: str) -> str:
      """Automates the login process to a given website using Selenium in Python.
      The function initializes a web driver, navigates to the provided website,
      locates and inputs the username and password, clicks the submit button, and 
      waits for the login process to complete.
      >>> automate_login_with_selenium('http://www.example.com', 'user123', 'pass123')
      'Login successful!'
      >>> automate_login_with_selenium('http://www.sample.com', 'testuser', 'testpass')
      'Login successful!'
      """
      from selenium import webdriver
      from selenium.webdriver.common.keys import Keys
      import time
  
      # 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()
      return 'Login successful!'
output:     # Check if login was successful
      try:
          driver.find_element_by_xpath("//*[contains(text(), 'Welcome')]")
      except:
          driver.close()
          return 'Login failed!'
  
      driver.close()
      return 'Login successful!'