WD
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
webdriver::ElementCommand Class Reference

#include <element_commands.h>

Inheritance diagram for webdriver::ElementCommand:
Collaboration diagram for webdriver::ElementCommand:

Public Member Functions

 ElementCommand (const std::vector< std::string > &path_segments, const base::DictionaryValue *const parameters)
 
virtual ~ElementCommand ()
 
virtual bool Init (Response *const response) OVERRIDE
 
- Public Member Functions inherited from webdriver::ViewCommand
 ViewCommand (const std::vector< std::string > &path_segments, const base::DictionaryValue *const parameters)
 
virtual ~ViewCommand ()
 
- Public Member Functions inherited from webdriver::WebDriverCommand
 WebDriverCommand (const std::vector< std::string > &path_segments, const base::DictionaryValue *const parameters)
 
virtual ~WebDriverCommand ()
 
virtual void Finish (Response *const response) OVERRIDE
 
virtual bool ShouldRunPreAndPostCommandHandlers ()
 
- 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 DoesDelete () const
 
virtual bool DoesGet () const
 
virtual bool DoesPost () const
 
virtual void ExecuteDelete (Response *const response)
 
virtual void ExecuteGet (Response *const response)
 
virtual void ExecutePost (Response *const response)
 

Protected Attributes

const std::vector< std::string > & path_segments_
 
ElementId element
 
- Protected Attributes inherited from webdriver::ViewCommand
scoped_ptr< ViewCmdExecutorexecutor_
 
- Protected Attributes inherited from webdriver::WebDriverCommand
Sessionsession_
 
std::string session_id_
 
- Protected Attributes inherited from webdriver::Command
const std::vector< std::string > path_segments_
 
yasper::ptr< const
DictionaryValue > 
parameters_
 

Additional Inherited Members

- Protected Member Functions inherited from webdriver::WebDriverCommand
 DISALLOW_COPY_AND_ASSIGN (WebDriverCommand)
 

Detailed Description

Handles commands that interact with a web element in the WebDriver REST service.

Constructor & Destructor Documentation

webdriver::ElementCommand::ElementCommand ( const std::vector< std::string > &  path_segments,
const base::DictionaryValue *const  parameters 
)
virtual webdriver::ElementCommand::~ElementCommand ( )
virtual

Member Function Documentation

virtual bool webdriver::ElementCommand::Init ( Response *const  response)
virtual

Initializes this webdriver command by fetching the command session.

Reimplemented from webdriver::ViewCommand.

Member Data Documentation

ElementId webdriver::ElementCommand::element
protected
const std::vector<std::string>& webdriver::ElementCommand::path_segments_
protected

The documentation for this class was generated from the following file: