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

Switches that can be passed to webdriver::Server::Init()

  • url-base
    The URL path prefix to use for all incoming WebDriver REST requests. A prefix and postfix '/' will be appended automatically if not present
  • port
    The port that QtWebDriver listens on (default - 9571)
  • root
    The path of location to serve files from (default - ./web)
  • http-threads
    The number of threads to use for handling HTTP requests (default - 4)
  • log-path
    The path to use for the QtWebDriver server log (default - ./webdriver.log)
  • verbose
    If enabled, QtWebDriver will log lots of stuff to stdout/stderr (false by default)
  • silence
    If enabled, QtWebDriver will not log anything to stdout/stderr (false by default)
  • config
    The path to config file (e.g. config.json) in JSON format with specified WD parameters as described above (port, root, etc.)
  • wi-server
    If true, web inspector will be enabled (false by default)
  • wi-port
    Web inspector listening port (by default - 9222)
  • vnc-login
    VNC server listening port (by default - 5900) VNC server IP address (by default - 127.0.0.1) Password for authentication (by default - no password)
  • uinput
    if parameter specified, user input device enabled

    • white-list
      The path to whitelist file (e.g. whitelist.xml) in XML format with specified list of IP with allowed/denied commands for each of them. For more information please refer: IP/command whitelist
  • webserver-cfg
    The path to mongoose config file (e.g. config.json) in JSON format with specified mongoose start option (extra-mime-types, listening_ports, etc.) Option from webserver config file will have more priority than commandline param that specify the same option.