#include <mouse_commands.h>
Click any mouse button (at the coordinates set by the last moveto command). Note that calling this command after calling buttondown and before calling button up (or any out-of-order interactions sequence) will yield undefined behaviour). http://code.google.com/p/selenium/wiki/JsonWireProtocol#/session/:sessionId/click
webdriver::ClickCommand::ClickCommand |
( |
const std::vector< std::string > & |
path_segments, |
|
|
const base::DictionaryValue *const |
parameters |
|
) |
| |
virtual webdriver::ClickCommand::~ClickCommand |
( |
| ) |
|
|
virtual |
virtual void webdriver::ClickCommand::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
-
response | pointer to response object |
Reimplemented from webdriver::Command.
virtual bool webdriver::ClickCommand::Init |
( |
Response *const |
response | ) |
|
|
virtual |
Initializes this webdriver command by fetching the command session.
Reimplemented from webdriver::ViewCommand.
The documentation for this class was generated from the following file: