#include <session_with_id.h>
Retrieve the capabilities of the specified session. If the HTTP Delete method is used then all chrome instances linked to the session ID are closed. The session's capabilities will be returned in a JSON object with the following properties: http://code.google.com/p/selenium/wiki/JsonWireProtocol#/session/:sessionId If the HTTP Delete request is sent the session is closed and all temp files and directories created are deleted.
webdriver::SessionWithID::SessionWithID |
( |
const std::vector< std::string > & |
path_segments, |
|
|
const DictionaryValue *const |
parameters |
|
) |
| |
virtual webdriver::SessionWithID::~SessionWithID |
( |
| ) |
|
|
virtual |
virtual bool webdriver::SessionWithID::DoesDelete |
( |
| ) |
const |
|
virtual |
Indicates if this command URL responds to DELETE method.
Reimplemented from webdriver::Command.
virtual bool webdriver::SessionWithID::DoesGet |
( |
| ) |
const |
|
virtual |
Indicates if this command URL responds to GET method.
Reimplemented from webdriver::Command.
virtual void webdriver::SessionWithID::ExecuteDelete |
( |
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::SessionWithID::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 bool webdriver::SessionWithID::ShouldRunPreAndPostCommandHandlers |
( |
| ) |
|
|
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.
The documentation for this class was generated from the following file: