public final class Cookie extends Object implements SeleniumRepresentable, Cloneable, Serializable
| Modifier and Type | Method and Description |
|---|---|
static Cookie |
createCookie(String name,
String value)
Creates cookie with specified name and value.
|
boolean |
equals(Object obj) |
String |
getName()
Returns name of the cookie
|
String |
getValue()
Returns value of the cookie
|
int |
hashCode() |
String |
inSeleniumRepresentation()
Returns Selenium's string representation of this object
|
public static Cookie createCookie(String name, String value)
name - the name of cookie (non-null)value - the value for cookie (non-null)public String getName()
public String getValue()
public String inSeleniumRepresentation()
SeleniumRepresentableinSeleniumRepresentation in interface SeleniumRepresentableCopyright © 2013 JBoss by Red Hat. All Rights Reserved.