WD
|
#include <target_locator_commands.h>
Public Member Functions | |
WindowCommand (const std::vector< std::string > &path_segments, const base::DictionaryValue *parameters) | |
virtual | ~WindowCommand () |
virtual bool | DoesPost () const OVERRIDE |
virtual bool | DoesDelete () const OVERRIDE |
virtual void | ExecutePost (Response *const response) OVERRIDE |
virtual void | ExecuteDelete (Response *const response) OVERRIDE |
virtual bool | ShouldRunPreAndPostCommandHandlers () 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 |
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 | DoesGet () const |
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::WebDriverCommand | |
Session * | session_ |
std::string | session_id_ |
Switches to the given window as the default window to execute commands on or closes it. REST URL: /session/:sessionId/window
webdriver::WindowCommand::WindowCommand | ( | const std::vector< std::string > & | path_segments, |
const base::DictionaryValue * | parameters | ||
) |
|
virtual |
|
virtual |
Indicates if this command URL responds to DELETE method.
Reimplemented from webdriver::Command.
|
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.
|
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.
|
virtual |
Returns whether this command should run the session pre and post command handlers. These handlers include waiting for the page to load.
Reimplemented from webdriver::WebDriverCommand.