hub config

@echo off
title Selenium_Hub
cd /d %~dp0
java -jar selenium-server-standalone-2.48.2.jar -role hub -hubConfig hubconfig.json
pause

  

下面是  hubconfig.json

{
   "host": 10.57.130.193,
   "port": 4444,
   "newSessionWaitTimeout": 60000,
   "servlets" : [],
   "prioritizer": null,
   "capabilityMatcher": "org.openqa.grid.internal.utils.DefaultCapabilityMatcher",
   "throwOnCapabilityNotPresent": true,
   "nodePolling": 50000,
   "cleanUpCycle": 5000,
   "nodeTimeout": 360000,
   "timeout": 300000,
   "browserTimeout": 480000,
   "maxSession": 10,
   "jettyMaxThreads":-1
}
原文地址:https://www.cnblogs.com/lgm1999/p/6248689.html