code: public void deleteCookie(String cookieName) {
          String action = "Deleting cookie <i>" + cookieName + "</i>";
          String expected = "Cookie <i>" + cookieName + "</i> is removed";
          try {
              Cookie cookie = driver.manage().getCookieNamed(cookieName);
              if (cookie == null) {
                  reporter.fail(action, expected,
                          "Unable to remove cookie <i>" + cookieName + "</i> as it doesn't exist.");
                  return;
              }
              driver.manage().deleteCookieNamed(cookieName);
          } catch (Exception e) {
              reporter.fail(action, expected, "Unable to remove cookie <i>" + cookieName + "</i>. " + e.getMessage());
              log.warn(e);
              return;
          }
          reporter.pass(action, expected, expected);
      }
docs: Deletes a stored cookie, indicated by the cookieName for this particular
  test. If the cookie by the provided name isn't present, than an error
  will be logged and recorded
  
  @param cookieName - the name of the cookie to delete