WD
|
#include <execute_command.h>
Public Member Functions | |
ExecuteCommand (const std::vector< std::string > &path_segments, const DictionaryValue *const parameters) | |
virtual | ~ExecuteCommand () |
virtual bool | DoesPost () const 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 () |
virtual bool | DoesDelete () const |
virtual bool | DoesGet () const |
virtual void | ExecuteDelete (Response *const response) |
virtual void | ExecuteGet (Response *const response) |
Additional Inherited Members | |
Protected Member Functions inherited from webdriver::WebDriverCommand | |
DISALLOW_COPY_AND_ASSIGN (WebDriverCommand) | |
Protected Attributes inherited from webdriver::ViewCommand | |
scoped_ptr< ViewCmdExecutor > | executor_ |
Inject a snippet of javascript into the page and return its result. WebElements that should be passed to the script as an argument should be specified in the arguments array as WebElement JSON arguments. Likewise, any WebElements in the script result will be returned to the client as WebElement JSON objects. See: http://code.google.com/p/selenium/wiki/JsonWireProtocol#/session/:sessionId/execute
webdriver::ExecuteCommand::ExecuteCommand | ( | 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.