#include <cookie_commands.h>
Set a cookie. The cookie should be specified as a JSON object with the following properties: name, value, path, domain, secure, and expiry. See: http://code.google.com/p/selenium/wiki/JsonWireProtocol#/session/:sessionId/cookie/:name
webdriver::NamedCookieCommand::NamedCookieCommand |
( |
const std::vector< std::string > & |
path_segments, |
|
|
const base::DictionaryValue *const |
parameters |
|
) |
| |
virtual webdriver::NamedCookieCommand::~NamedCookieCommand |
( |
| ) |
|
|
virtual |
virtual bool webdriver::NamedCookieCommand::DoesDelete |
( |
| ) |
const |
|
virtual |
Indicates if this command URL responds to DELETE method.
Reimplemented from webdriver::Command.
virtual void webdriver::NamedCookieCommand::ExecuteDelete |
( |
Response *const |
response | ) |
|
|
virtual |
Executes the corresponding variant of this command URL. Always called after Init() and called from the Execute function. Any failure is handled as a return code found in Response.
- Parameters
-
response | pointer to response object |
Reimplemented from webdriver::Command.
virtual bool webdriver::NamedCookieCommand::Init |
( |
Response *const |
response | ) |
|
|
virtual |
Initializes this webdriver command by fetching the command session.
Reimplemented from webdriver::ViewCommand.
The documentation for this class was generated from the following file: