Q: Any way to set value for a particular cookie in selenium? I've tried using driver.manage().getCookies().add(new Cookie("cookie-name","cookie-value")); 
But that didnt set the value of the Cookie. 

A: it should work.
driver.get(yourAppUrl);  //this statement must execute before you set cookies.
Cookie newCookie= new Cookie(name, value);
driver.manage().addCookie(newCookie);

