How to get specific cookie information
Cookie cookie = driver.manage().getCookieNamed("1P_JAR");
System.out.println("Name : " + cookie.getName());
System.out.println("Value : " + cookie.getValue());
System.out.println("Domain : " + cookie.getDomain());
System.out.println("Path : " + cookie.getPath());
System.out.println("Expiry : " + cookie.getExpiry());
System.out.println("Secure : " + cookie.isSecure());
System.out.println("isHttpOnly : " + cookie.isHttpOnly());