WD
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
webdriver::CookieCommand Class Reference

#include <cookie_commands.h>

Inheritance diagram for webdriver::CookieCommand:
Collaboration diagram for webdriver::CookieCommand:

Public Member Functions

 CookieCommand (const std::vector< std::string > &path_segments, const base::DictionaryValue *const parameters)
 
virtual ~CookieCommand ()
 
virtual bool DoesDelete () const OVERRIDE
 
virtual bool DoesGet () const OVERRIDE
 
virtual bool DoesPost () const OVERRIDE
 
virtual void ExecuteDelete (Response *const response) OVERRIDE
 
virtual void ExecuteGet (Response *const response) OVERRIDE
 
virtual void ExecutePost (Response *const response) OVERRIDE
 
- Public Member Functions inherited from webdriver::ViewCommand
 ViewCommand (const std::vector< std::string > &path_segments, const base::DictionaryValue *const parameters)
 
virtual ~ViewCommand ()
 
virtual bool Init (Response *const response) OVERRIDE
 
- Public Member Functions inherited from webdriver::WebDriverCommand
 WebDriverCommand (const std::vector< std::string > &path_segments, const base::DictionaryValue *const parameters)
 
virtual ~WebDriverCommand ()
 
virtual void Finish (Response *const response) OVERRIDE
 
virtual bool ShouldRunPreAndPostCommandHandlers ()
 
- Public Member Functions inherited from webdriver::Command
 Command (const std::vector< std::string > &path_segments, const DictionaryValue *const parameters)
 
 Command (const Command &other)
 
virtual ~Command ()
 

Additional Inherited Members

- Protected Member Functions inherited from webdriver::WebDriverCommand
 DISALLOW_COPY_AND_ASSIGN (WebDriverCommand)
 
- Protected Attributes inherited from webdriver::ViewCommand
scoped_ptr< ViewCmdExecutorexecutor_
 

Detailed Description

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

Constructor & Destructor Documentation

webdriver::CookieCommand::CookieCommand ( const std::vector< std::string > &  path_segments,
const base::DictionaryValue *const  parameters 
)
virtual webdriver::CookieCommand::~CookieCommand ( )
virtual

Member Function Documentation

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
responsepointer 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
responsepointer 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
responsepointer to response object

Reimplemented from webdriver::Command.


The documentation for this class was generated from the following file: