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

#include <webdriver_capabilities_parser.h>

Public Member Functions

 CapabilitiesParser (const base::DictionaryValue *capabilities_dict, const Logger &logger, Capabilities *capabilities)
 
 ~CapabilitiesParser ()
 
ErrorParse ()
 

Detailed Description

Parses the given capabilities dictionary to produce a Capabilities instance. See webdriver's desired capabilities for more info.

Constructor & Destructor Documentation

webdriver::CapabilitiesParser::CapabilitiesParser ( const base::DictionaryValue *  capabilities_dict,
const Logger logger,
Capabilities capabilities 
)

Create a new parser.

Parameters
capabilities_dictthe dictionary for all of the user's desired capabilities.
loggerlogger
capabilitiesreturn value
webdriver::CapabilitiesParser::~CapabilitiesParser ( )

Member Function Documentation

Error* webdriver::CapabilitiesParser::Parse ( )

Parses the capabilities. May return an error.

Returns
NULL - if ok. Error object - otherwise.

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