WD
|
#include <non_session_commands.h>
Public Member Functions | |
GlobalLogCommand (const std::vector< std::string > &path_segments, const base::DictionaryValue *const parameters) | |
virtual | ~GlobalLogCommand () |
virtual bool | DoesGet () const OVERRIDE |
virtual void | ExecuteGet (Response *const response) OVERRIDE |
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 bool | DoesPost () const |
virtual bool | Init (Response *const response) |
virtual void | Finish (Response *const response) |
virtual void | ExecuteDelete (Response *const response) |
virtual void | ExecutePost (Response *const response) |
Additional Inherited Members | |
Protected Member Functions inherited from webdriver::Command | |
std::string | GetPathVariable (const size_t i) const |
bool | HasParameter (const std::string &key) const |
bool | IsNullParameter (const std::string &key) const |
bool | GetStringParameter (const std::string &key, string16 *out) const |
bool | GetStringParameter (const std::string &key, std::string *out) const |
bool | GetStringASCIIParameter (const std::string &key, std::string *out) const |
bool | GetBooleanParameter (const std::string &key, bool *out) const |
bool | GetIntegerParameter (const std::string &key, int *out) const |
bool | GetDoubleParameter (const std::string &key, double *out) const |
bool | GetDictionaryParameter (const std::string &key, const DictionaryValue **out) const |
bool | GetListParameter (const std::string &key, const ListValue **out) const |
Protected Attributes inherited from webdriver::Command | |
const std::vector< std::string > | path_segments_ |
yasper::ptr< const DictionaryValue > | parameters_ |
Sends global logs.
webdriver::GlobalLogCommand::GlobalLogCommand | ( | const std::vector< std::string > & | path_segments, |
const base::DictionaryValue *const | parameters | ||
) |
|
virtual |
|
virtual |
Indicates if this command URL responds to GET method.
Reimplemented from webdriver::Command.
|
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.
response | pointer to response object |
Reimplemented from webdriver::Command.