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

#include <url_command.h>

Inheritance diagram for webdriver::URLCommand:
Collaboration diagram for webdriver::URLCommand:

Public Member Functions

 URLCommand (const std::vector< std::string > &path_segments, const DictionaryValue *const parameters)
 
virtual ~URLCommand ()
 
virtual bool DoesGet () const OVERRIDE
 
virtual bool DoesPost () const OVERRIDE
 
virtual void ExecuteGet (Response *const response) OVERRIDE
 
virtual void ExecutePost (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 bool Init (Response *const response) OVERRIDE
 
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 ()
 
virtual bool DoesDelete () const
 
virtual void ExecuteDelete (Response *const response)
 

Additional Inherited Members

- Protected Member Functions inherited from webdriver::WebDriverCommand
 DISALLOW_COPY_AND_ASSIGN (WebDriverCommand)
 
- Protected Attributes inherited from webdriver::WebDriverCommand
Sessionsession_
 
std::string session_id_
 

Detailed Description

Controls navigate to new web pages for the current tab. A call with and HTTP GET will return the URL of the tab. See: http://code.google.com/p/selenium/wiki/JsonWireProtocol#/session/:sessionId/url

Constructor & Destructor Documentation

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

Member Function Documentation

virtual bool webdriver::URLCommand::DoesGet ( ) const
virtual

Indicates if this command URL responds to GET method.

Reimplemented from webdriver::Command.

virtual bool webdriver::URLCommand::DoesPost ( ) const
virtual

Indicates if this command URL responds to POST method.

Reimplemented from webdriver::Command.

virtual void webdriver::URLCommand::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::URLCommand::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: