The server

Georgi Kostov edited this page Jan 10, 2013 · 7 revisions

It’s built on node.js and using a configuration file it can be set to run in either automatic mode (to start all configured slaves or wait for them to connect after startup ) and run tests right away or interactive mode waiting for the user to send commands from a management console. Many of the options in the configuration file can be overridden with arguments passed on the command line.

Structure of the BrowserDriver server

The server uses Socket.IO to communicate with slaves and manager apps and provides HTTP server to serve files from configured directories. The document root that the web server uses is the "client" directory in the package and the configuration file can specify other directories to be mapped to paths as needed.