final class WrappedCookie extends AnyRef
Wrapper class for a Selenium Cookie
.
This class provides idiomatic Scala access to the services of an underlying Cookie
.
You can access the wrapped Cookie
via the underlying
method.
- Source
- WebBrowser.scala
- Alphabetic
- By Inheritance
- WrappedCookie
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new WrappedCookie(underlying: Cookie)
Value Members
-
def
domain: String
The domain to which this cookie is visible.
The domain to which this cookie is visible.
This invokes
getDomain
on the underlyingCookie
.- returns
the domain of this cookie
-
def
equals(other: Any): Boolean
Returns the result of invoking
equals
on the underlyingCookie
, passing in the specifiedother
object.Returns the result of invoking
equals
on the underlyingCookie
, passing in the specifiedother
object.Two Selenium
Cookie
s are considered equal if their name and values are equal.- other
the object with which to compare for equality
- returns
true if the passed object is equal to this one
- Definition Classes
- WrappedCookie → AnyRef → Any
-
def
expiry: Option[Date]
The expire date of this cookie.
The expire date of this cookie.
This invokes
getExpiry
on the underlyingCookie
.- returns
the expire date of this cookie
-
def
hashCode(): Int
Returns the result of invoking
hashCode
on the underlyingCookie
.Returns the result of invoking
hashCode
on the underlyingCookie
.- returns
a hash code for this object
- Definition Classes
- WrappedCookie → AnyRef → Any
-
def
name: String
The name of this cookie.
The name of this cookie.
This invokes
getName
on the underlyingCookie
.- returns
the name of this cookie
-
def
path: String
The path of this cookie.
The path of this cookie.
This invokes
getPath
on the underlyingCookie
.- returns
the path of this cookie
-
def
secure: Boolean
Indicates whether the cookie requires a secure connection.
Indicates whether the cookie requires a secure connection.
This invokes
isSecure
on the underlyingCookie
.- returns
true if this cookie requires a secure connection.
-
def
toString(): String
Returns the result of invoking
toString
on the underlyingCookie
.Returns the result of invoking
toString
on the underlyingCookie
.- returns
a string representation of this object
- Definition Classes
- WrappedCookie → AnyRef → Any
- val underlying: Cookie
-
def
value: String
The value of this cookie.
The value of this cookie.
This invokes
getValue
on the underlyingCookie
.- returns
the value of this cookie