WD
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
WD Server

Entry point for HWD is webdriver::Server singleton class. It allows to configure, set predefined command routes and start webdriver service. It isn't thread safe.

Server accepts options in form of command line arguments. Also by default it uses webdriver::DefaultRouteTable. Custom route table can be passed after init.

Example:

if (0 != wd_server->Configure(argc, argv)) {
return 1;
}
wd_server->Start();

For reconfiguring server:

Options

All server options are represented in command line form. In example:

--verbose --port=9517 --log-path=/var/log/wd.log

For all options please refer: WD Server switches