#include <orientation_command.h>
Set and Get the current browser orientation The server should return a valid orientation value as defined in ScreenOrientation: {LANDSCAPE|PORTRAIT}. http://code.google.com/p/selenium/wiki/JsonWireProtocol#/session/:sessionId/orientation
webdriver::OrientationCommand::OrientationCommand |
( |
const std::vector< std::string > & |
path_segments, |
|
|
const base::DictionaryValue *const |
parameters |
|
) |
| |
virtual webdriver::OrientationCommand::~OrientationCommand |
( |
| ) |
|
|
virtual |
virtual bool webdriver::OrientationCommand::DoesGet |
( |
| ) |
const |
|
virtual |
Indicates if this command URL responds to GET method.
Reimplemented from webdriver::Command.
virtual bool webdriver::OrientationCommand::DoesPost |
( |
| ) |
const |
|
virtual |
Indicates if this command URL responds to POST method.
Reimplemented from webdriver::Command.
virtual void webdriver::OrientationCommand::ExecuteGet |
( |
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 void webdriver::OrientationCommand::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.
The documentation for this class was generated from the following file: