input: Write a function to automate the login process on a given website using Selenium in Python. The function should navigate to the website, locate the username and password fields, enter the provided credentials, click the submit button, and print a success message if the login is successful. If the given website URL is empty, the function should raise a ValueError.
  
  def login_automation(website_url, username_field_name, password_field_name, submit_button_name, username, password):
      if not website_url:
          raise ValueError("Website URL cannot be empty")
      
      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_field = driver.find_element_by_name(username_field_name)
  
      # Enter username
      username_field.send_keys(username)
  
      # Locate password field
      password_field = driver.find_element_by_name(password_field_name)
  
      # Enter password
      password_field.send_keys(password)
  
      # Locate submit button
      submit_button = driver.find_element_by_name(submit_button_name)
  
      # Click submit button
      submit_button.click()
  
      # Wait for login process to complete
      time.sleep(5)
  
      # Login successful
      print('Login successful!')
  
      driver.close()
  
  assert login_automation('http://www.example.com', 'username', 'password', 'submit', 'testuser', 'testpass') is None
  assert login_automation('', 'username', 'password', 'submit', 'testuser', 'testpass')  # This should raise a ValueError
output: def login_automation(website_url, username_field_name, password_field_name, submit_button_name, username, password):
      if not website_url:
          raise ValueError("Website URL cannot be empty")
      
      from selenium import webdriver
      from selenium.webdriver.common.keys import Keys
      import time
  
      driver = webdriver.Chrome()
      driver.get(website_url)
      username_field = driver.find_element_by_name(username_field_name)
      username_field.send_keys(username)
      password_field = driver.find_element_by_name(password_field_name)
      password_field.send_keys(password)
      submit_button = driver.find_element_by_name(submit_button_name)
      submit_button.click()
      time.sleep(5)
      print('Login successful!')
      driver.close()