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

#include <webdriver_capabilities_parser.h>

Collaboration diagram for webdriver::Capabilities:

Public Member Functions

 Capabilities ()
 
 ~Capabilities ()
 

Public Attributes

CommandLine options
 
bool load_async
 
LogLevel log_levels [LogType::kNum]
 
std::string browser_start_window
 
std::string browser_class
 
std::string browser_name
 
scoped_ptr< DictionaryValue > caps
 

Static Public Attributes

static const char kBrowserName []
 
static const char kVersion []
 
static const char kPlatform []
 
static const char kJavascriptEnabled []
 
static const char kTakesScreenshot []
 
static const char kTakesElementScreenshot []
 
static const char kRemotePlayerEnabled []
 
static const char kHandlesAlerts []
 
static const char kDatabaseEnabled []
 
static const char kLocationContextEnabled []
 
static const char kApplicationCacheEnabled []
 
static const char kBrowserConnectionEnabled []
 
static const char kCssSelectorsEnabled []
 
static const char kWebStorageEnabled []
 
static const char kRotatable []
 
static const char kAcceptSslCerts []
 
static const char kNativeEvents []
 
static const char kProxy []
 
static const char kLoggingPrefs []
 
static const char kLoadAsync []
 
static const char kBrowserStartWindow []
 
static const char kBrowserClass []
 
static const char kHybrid []
 
static const char kWindowSize []
 
static const char kWindowPosition []
 
static const char kMaximize []
 
static const char kReuseUI []
 

Detailed Description

Contains all the capabilities that a user may request when starting a new session.

Constructor & Destructor Documentation

webdriver::Capabilities::Capabilities ( )
webdriver::Capabilities::~Capabilities ( )

Member Data Documentation

std::string webdriver::Capabilities::browser_class

Name of the WebView class to create as "browser".

std::string webdriver::Capabilities::browser_name

Name of the browser.

std::string webdriver::Capabilities::browser_start_window

Name of the window to use for connecting to an already running QWidget subclass.

scoped_ptr<DictionaryValue> webdriver::Capabilities::caps

capabilities dictionary

const char webdriver::Capabilities::kAcceptSslCerts[]
static
const char webdriver::Capabilities::kApplicationCacheEnabled[]
static
const char webdriver::Capabilities::kBrowserClass[]
static
const char webdriver::Capabilities::kBrowserConnectionEnabled[]
static
const char webdriver::Capabilities::kBrowserName[]
static
const char webdriver::Capabilities::kBrowserStartWindow[]
static
const char webdriver::Capabilities::kCssSelectorsEnabled[]
static
const char webdriver::Capabilities::kDatabaseEnabled[]
static
const char webdriver::Capabilities::kHandlesAlerts[]
static
const char webdriver::Capabilities::kHybrid[]
static
const char webdriver::Capabilities::kJavascriptEnabled[]
static
const char webdriver::Capabilities::kLoadAsync[]
static
const char webdriver::Capabilities::kLocationContextEnabled[]
static
const char webdriver::Capabilities::kLoggingPrefs[]
static
const char webdriver::Capabilities::kMaximize[]
static

start window with maximum size

const char webdriver::Capabilities::kNativeEvents[]
static
const char webdriver::Capabilities::kPlatform[]
static
const char webdriver::Capabilities::kProxy[]
static
const char webdriver::Capabilities::kRemotePlayerEnabled[]
static
const char webdriver::Capabilities::kReuseUI[]
static
const char webdriver::Capabilities::kRotatable[]
static
const char webdriver::Capabilities::kTakesElementScreenshot[]
static
const char webdriver::Capabilities::kTakesScreenshot[]
static
const char webdriver::Capabilities::kVersion[]
static
const char webdriver::Capabilities::kWebStorageEnabled[]
static
const char webdriver::Capabilities::kWindowPosition[]
static

desired position, as a string (e.g. - "80, 60") for start window

const char webdriver::Capabilities::kWindowSize[]
static

desired size, as a string (e.g. - "600, 600") for start window

bool webdriver::Capabilities::load_async

Whether Chrome should not block when loading.

LogLevel webdriver::Capabilities::log_levels[LogType::kNum]

The minimum level to log for each log type.

CommandLine webdriver::Capabilities::options

options with switches.


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