我正在尝试使用实习生在Selenium grid 2上运行单元测试用例。它甚至支持吗?
这是我的配置文件:
{
environments: [
{
browserName: 'chrome',
chromeOptions: {
args: [
'disable-restore-session-state',
'disable-web-security',
'no-sandbox'
]
}
}
],
excludeInstrumentation: /^(?:dist|node_modules|tests)\//,
loader: {
map: {
'*': {
bundler: 'xxxBundle',
'conf.json': 'dist/conf.json'
}
},
packages: [
{
name: 'dojo',
location: 'node_modules/intern/node_modules/dojo'
},
{
name: 'sinon',
location: 'node_modules/sinon',
main: 'pkg/sinon.js'
}
],
paths: clientPaths
},
reporters: reporters,
functionalSuites: [ ],
suites: [
'tests/unit/app/application'
],
useSauceConnect: false,
proxyPort: 9000,
proxyUrl: 'drivexgridmaster.xxx.com:9000/',
tunnel: 'NullTunnel',
tunnelOptions: {
host: 'drivexgridmaster.xxx.com:4444',
port: '4444'
},
webdriver: {
host: 'drivexgridmaster.xxx.com',
port: 4444
},
useLoader: {
'host-browser': hostBrowser
}
};
我收到以下错误:
错误:此网页无法使用 ERR_CONNECTION_REFUSED