WD
|
#include <create_session.h>
Public Member Functions | |
CreateSession (const std::vector< std::string > &path_segments, const DictionaryValue *const parameters) | |
virtual | ~CreateSession () |
virtual bool | DoesPost () const OVERRIDE |
virtual void | ExecutePost (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 | DoesGet () const |
virtual bool | Init (Response *const response) |
virtual void | Finish (Response *const response) |
virtual void | ExecuteDelete (Response *const response) |
virtual void | ExecuteGet (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_ |
Create a new session which is a new instance of the chrome browser with no page loaded. A new session ID is passed back to the user which is used for all future commands that are sent to control this new instance. The desired capabilities should be specified in a JSON object with the following properties: http://code.google.com/p/selenium/wiki/JsonWireProtocol#/session
webdriver::CreateSession::CreateSession | ( | const std::vector< std::string > & | path_segments, |
const DictionaryValue *const | parameters | ||
) |
|
virtual |
|
virtual |
Indicates if this command URL responds to POST 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.