old_contents: import time
  import os
  import shutil
  
  from selenium import webdriver
  from selenium.webdriver.chrome.options import Options
  chrome_options = Options()
  testdir = os.path.dirname(os.path.abspath(__file__))
  chrome_options.add_argument("nwapp=" + testdir)
  
  datadir = os.path.join(testdir, "extract")
  if os.path.isdir(datadir) :
    shutil.rmtree(datadir)
  
  driver = webdriver.Chrome(executable_path=os.environ['CHROMEDRIVER'], chrome_options=chrome_options)
  try:
      print driver.current_url
      time.sleep(2)
      result = driver.find_element_by_id('result')
      print result.get_attribute('innerHTML')
      assert("success" in result.get_attribute('innerHTML'))
  finally:
      driver.quit()
  
new_contents: import time
  import os
  import shutil
  
  from selenium import webdriver
  from selenium.webdriver.chrome.options import Options
  chrome_options = Options()
  testdir = os.path.dirname(os.path.abspath(__file__))
  chrome_options.add_argument("nwapp=" + testdir)
  
  datadir = os.path.join(testdir, "extract")
  if os.path.isdir(datadir) :
    shutil.rmtree(datadir)
  
  driver = webdriver.Chrome(executable_path=os.environ['CHROMEDRIVER'], chrome_options=chrome_options)
  try:
      print driver.current_url
      time.sleep(5)
      result = driver.find_element_by_id('result')
      print result.get_attribute('innerHTML')
      assert("success" in result.get_attribute('innerHTML'))
  finally:
      driver.quit()
  
subject: fix tar case