Попробуйте:
-browser browserName=firefox,maxSession=1,maxInstances=1,platform=LINUX
Вы можете запустить узлы сетки, которые настроены с помощью файла конфигурации JSON
$ java -jar selenium-server-standalone.jar -role node -nodeConfig node1Config.json
А вот пример файла nodeConfig.json:
{
"capabilities": [
{
"browserName": "firefox",
"acceptSslCerts": true,
"javascriptEnabled": true,
"takesScreenshot": false,
"firefox_profile": "",
"browser-version": "27",
"platform": "WINDOWS",
"maxInstances": 1,
"firefox_binary": "",
"cleanSession": true
}
],
"configuration": {
"_comment" : "Configuration for Node",
"cleanUpCycle": 2000,
"timeout": 30000,
"proxy": "org.openqa.grid.selenium.proxy.WebDriverRemoteProxy",
"port": 5555,
"host": ip,
"register": true,
"hubPort": 4444,
"maxSessions": 1
}
}