Not able to launch the node using json file | Selenium Forum
M
Posted on 21/09/2015
Hi
I am unable to open a node using JSON file

I am using my pc for hub as well as node. I am successfully able to launch a hub with json but unable to launch the node

My hub url is :http://192.168.1.141:4445/"

My json file for node content for node is

{
"capabilities":
[
{
"browserName": "firefox",
"maxInstances": 1
},
{
"browserName": "chrome",
"maxInstances": 1
},


],
"configuration":
{
"nodeTimeout":120,
"port":5555,

"hubPort":4445,
"hubHost":"192.168.1.141",

"nodePolling":2000,

"registerCycle":10000,
"register":true,
"cleanUpCycle":2000,
"timeout":30000,
"maxSession":5,
}
}


I am using below command to read from node
java -jar selenium-server-standalone-2.47.1.jar -role node -nodeConfig node1.json


Attached is the screenshot for the error which I am getting on command prompt.

M
Replied on 11/10/2015

Please provide me with the solution


M
Replied on 17/10/2015

Its been 1 month , I posted this.


Please look into these and provide me with the solution


M
Replied on 17/10/2015

we are looking into this don't worry.


M
Replied on 20/10/2015

sorry it took so, much time but small error always missed.

no comma needed after max session.



[quote:m84o3r1k]{
"capabilities":
[
{
"browserName": "firefox",
"maxInstances": 1
},
{
"browserName": "chrome",
"maxInstances": 1
},


],
"configuration":
{
"nodeTimeout":120,
"port":5555,

"hubPort":4445,
"hubHost":"192.168.1.141",

"nodePolling":2000,

"registerCycle":10000,
"register":true,
"cleanUpCycle":2000,
"timeout":30000,
"maxSession":5
}
}

[/quote:m84o3r1k]