input: Write a python function to fill out and submit a form on a website using Selenium.
  assert fill_out_form("https://example.com/form", {"name": "Joseph Smith", "address": "123 Main Street", "city": "New York", "state": "NY", "zip": "12345", "country": "United States"}) == "Form submitted successfully"
  assert fill_out_form("https://example.com/form", {"name": "Alice Johnson", "address": "456 Elm Street", "city": "Boston", "state": "MA", "zip": "54321", "country": "United States"}) == "Form submitted successfully"
  assert fill_out_form("https://example.com/form", {"name": "Bob Brown", "address": "789 Maple Avenue", "city": "Los Angeles", "state": "CA", "zip": "67890", "country": "United States"}) == "Form submitted successfully"
output: from selenium import webdriver
  from selenium.webdriver.common.by import By
  from selenium.webdriver.common.keys import Keys
  from selenium.webdriver.chrome.service import Service
  from webdriver_manager.chrome import ChromeDriverManager
  
  def fill_out_form(url, form_data):
      driver = webdriver.Chrome(service=Service(ChromeDriverManager().install()))
      driver.get(url)
      
      # Fill the form fields
      driver.find_element(By.NAME, "name").send_keys(form_data["name"])
      driver.find_element(By.NAME, "address").send_keys(form_data["address"])
      driver.find_element(By.NAME, "city").send_keys(form_data["city"])
      driver.find_element(By.NAME, "state").send_keys(form_data["state"])
      driver.find_element(By.NAME, "zip").send_keys(form_data["zip"])
      driver.find_element(By.NAME, "country").send_keys(form_data["country"])
      
      # Submit the form
      driver.find_element(By.CSS_SELECTOR, "form").submit()
      
      # Wait for submission to complete and get confirmation text
      confirmation = driver.find_element(By.CSS_SELECTOR, ".confirmation-message").text
      
      driver.quit()
      
      return confirmation