Add cookie in the web browser.
Add cookie in the web browser. If the cookie's domain name is left blank (default), it is assumed that the cookie is meant for the domain of the current document.
cookie's expiry data
cookie's domain name
whether this cookie is secured.
WebDriver with which to drive the browser
This object is part of ScalaTest's Selenium DSL. Please see the documentation for
WebBrowserfor an overview of the Selenium DSL.
This object enables syntax such as the following: