title: Error in texting automated message in whatsapp using python
body: <p>My code is(studied from geeksforgeeks):</p>
  
  <pre><code>#!/usr/bin/python
  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
  # Replace below path with the absolute path
  # to chromedriver in your computer
  driver = webdriver.Chrome('C:\webdriver\chromedriver.exe')
  driver.get("https://web.whatsapp.com/")
  wait = WebDriverWait(driver, 600)
  # Replace 'Friend's Name' with the name of your friend
  # or the name of a group
  target = "Rahul Mehta"
  # Replace the below string with your own message
  string = "Hi"
  y_arg = '//*[@id="side"]/div[2]/div/label/input'
  input_y = wait.until(EC.presence_of_element_located((By.XPATH, y_arg)))
  input_y.send_keys(target + Keys.ENTER)
  inp_xpath = '//*[@id="main"]/footer/div[1]/div[1]/div/div[2]'
  input_box = wait.until(EC.presence_of_element_located((By.XPATH,inp_xpath)))
  for i in range(2):
    input_box.send_keys(string + Keys.ENTER)
    time.sleep(1)
  </code></pre>
  
  <p>I am getting the error as :</p>
  
  <pre><code>[1436:4360:1017/202620.286:ERROR:shader_disk_cache.cc(237)] Failed to create 
  shader cache entry: -2
  </code></pre>
  
  <p>I get the same repeated errors in command prompt when I increase the range. The browser gets opened and then it even searches my friend's name but eventually it  doesn't send the message. Please help me.I have almost wasted one whole day for this yet with no clue on how to proceed further:(</p>