#include <cookie_commands.h>
Retrieve all cookies visible to the current page. Each cookie will be returned 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
webdriver::CookieCommand::CookieCommand |
( |
const std::vector< std::string > & |
path_segments, |
|
|
const base::DictionaryValue *const |
parameters |
|
) |
| |
virtual webdriver::CookieCommand::~CookieCommand |
( |
| ) |
|
|
virtual |
virtual bool webdriver::CookieCommand::DoesDelete |
( |
| ) |
const |
|
virtual |
Indicates if this command URL responds to DELETE method.
Reimplemented from webdriver::Command.
virtual bool webdriver::CookieCommand::DoesGet |
( |
| ) |
const |
|
virtual |
Indicates if this command URL responds to GET method.
Reimplemented from webdriver::Command.
virtual bool webdriver::CookieCommand::DoesPost |
( |
| ) |
const |
|
virtual |
Indicates if this command URL responds to POST method.
Reimplemented from webdriver::Command.
virtual void webdriver::CookieCommand::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 void webdriver::CookieCommand::ExecuteGet |
( |
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 void webdriver::CookieCommand::ExecutePost |
( |
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.
The documentation for this class was generated from the following file: