List of usage examples for org.openqa.selenium Cookie name
String name
To view the source code for org.openqa.selenium Cookie name.
Click Source Link
From source file:org.eweb4j.spiderman.plugin.util.WebDriverDownloader.java
License:Apache License
public void addCookie(String key, String val, String host, String path) { Cookie c = new Cookie(key, val, host, path); //Cookie//from www . j a va 2 s. co m String name = c.name(); String value = c.value(); List<String> vals = this.cookies.get(name); if (vals == null) vals = new ArrayList<String>(); vals.add(value); this.cookies.put(key, vals); }