title: How add a cookie to specific domain using selenium
body: <p>Is there a way to specify the domain in which the cookie is to be set. </p>
  
  <p>I followed this way</p>
  
  <p>selenium.open(example.com);
  selenium.createCookie(arg1, arg2);</p>
  
  <p>Is there any way by which i can set the cookie in .example.com domain? </p>
  
  <p>Note : If i open example.com it will be redirected to www.example.com</p>