text: from selenium import webdriver
  from selenium.webdriver.support.ui import WebDriverWait
  from selenium.webdriver.support import expected_conditions as EC
  from selenium.webdriver.common.keys import Keys
  from selenium.webdriver.common.by import By
  import time
  import random
  
  driver = webdriver.Chrome('/path/to/chrome/driver')
  
  driver.get("https://web.whatsapp.com/")
  wait = WebDriverWait(driver, 600)
  
  
  # insert contact name here
  target = "''"
  #insert message here
  string = ""
  
  x_arg = '//span[contains(@title,' + target + ')]'
  group_title = wait.until(EC.presence_of_element_located((By.XPATH, x_arg)))
  group_title.click()
  inp_xpath = '//*[@id="main"]/footer/div[1]/div[2]'
  #inp_xpath = '//div[@class="input"][@dir="auto"][@data-tab="1"]'
  input_box = wait.until(EC.presence_of_element_located((By.XPATH, inp_xpath)))
  for i in range(100):
      input_box.send_keys(string + Keys.ENTER)
      time.sleep(random.random() * 5.0)
  