#include <mouse_commands.h>
Move the mouse by an offset of the specified element. If no element is specified, the move is relative to the current mouse cursor. If an element is provided but no offset, the mouse will be moved to the center of the element. If the element is not visible, it will be scrolled into view. http://code.google.com/p/selenium/wiki/JsonWireProtocol#/session/:sessionId/moveto
webdriver::MoveToCommand::MoveToCommand |
( |
const std::vector< std::string > & |
path_segments, |
|
|
const base::DictionaryValue *const |
parameters |
|
) |
| |
virtual webdriver::MoveToCommand::~MoveToCommand |
( |
| ) |
|
|
virtual |
virtual void webdriver::MoveToCommand::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::MoveToCommand::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: