There are two ways to specify the configuration parameter to the Selenium Grid's hub and node. The first one is what we have seen all this time; that is, specifying the configuration parameters over the command line. The second way of doing it is by providing a JSON file that contains all these configuration parameters.
A node configuration file (say, nodeConfig.json) — a typical JSON file having all the configuration parameters — looks similar to the following:
{ "class": "org.openqa.grid.common.RegistrationRequest", "capabilities": [ { "seleniumProtocol": "WebDriver", "browserName": "internet explorer", "version": "10", "maxInstances": 1, "platform" : "WINDOWS" } ], "configuration": { "port": ...