0
{
"capabilities":
[
{
"browserName": "firefox",
"maxInstances": 5,
"seleniumProtocol": "WebDriver"
},
{
"browserName": "chrome",
"maxInstances": 5,
"seleniumProtocol": "WebDriver"
},
{
"browserName": "internet explorer",
"maxInstances": 1,
"seleniumProtocol": "WebDriver"
}
],
"proxy": "org.openqa.grid.selenium.proxy.DefaultRemoteProxy",
"maxSession": 5,
"port": 5555,
"register": true,
"registerCycle": 5000,
"hub": "http://localhost:4444",
"nodeStatusCheckTimeout": 5000,
"nodePolling": 5000,
"role": "node",
"unregisterIfStillDownAfter": 60000,
"downPollingLimit": 2,
"debug": false,
"servlets" : [],
"withoutServlets": [],
"custom": {}
}
このノードを登録できませんでした:私はミスを発生しました:これは</p> <p>私のコンフィギュレーション・ファイルconfig.jsonであると私は、コマンドライン上で実行
java -jar selenium-server-standalone-3.3.1.jar -role node -nodeConfig nodeconfig.json
しかし、私は、このような間違いが発生しました
21:27:48.334 INFO - Couldn't register this node: The hub is down or not respondi
ng: Connect to localhost:4444 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] f
ailed: Connection refused: connect
なぜそうなのか、私は理解していない:と私は答えを見つけることができませんか?
なぜこれがPythonでjavaのときにタグ付けしますか? –
"java -jar selenium-server-standalone-3.3.1.jar -role hub"コマンドを使用してハブを起動したことを確認しましたか? –