code: func (c *Gcd) removeProfileDir() {
  	if c.deleteProfile {
  		// let chrome shutdown completely before deleting
  		time.Sleep(1 * time.Second)
  		if err := os.RemoveAll(c.profileDir); err != nil {
  			log.Printf("error deleting profile directory: %s\n", err)
  		}
  	}
  }
docs: // removeProfileDir if deleteProfile is true