sdfsdf
This commit is contained in:
@@ -8,7 +8,7 @@ class NavigateService {
|
||||
constructor() {
|
||||
this.config = {
|
||||
browser: 'chrome',
|
||||
hub: 'http://spiduler-chrome:4444/wd/hub',
|
||||
hub: 'http://bro-chrome:4444/wd/hub',
|
||||
capabilities: Capabilities.chrome(),
|
||||
browserArgs: ['--no-sandbox', '--headless', '--disable-dev-shm-usage']
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@ class PoolingService {
|
||||
this.config = {
|
||||
pool: { max: 10, min: 1, testOnBorrow: true },
|
||||
browser: 'chrome',
|
||||
browserArgs: ['--no-sandbox', '--headless', '--disable-dev-shm-usage', '--proxy-server=spiduler-tor:8118']
|
||||
browserArgs: ['--no-sandbox', '--headless', '--disable-dev-shm-usage', '--proxy-server=bro-tor:8118']
|
||||
}
|
||||
this.pool = this.createPool()
|
||||
}
|
||||
@@ -68,7 +68,7 @@ class PoolingService {
|
||||
let capabilities = Capabilities.chrome()
|
||||
opts.addArguments(this.config.browserArgs)
|
||||
return new Builder()
|
||||
.usingServer('http://spiduler-chrome:4444/wd/hub')
|
||||
.usingServer('http://bro-chrome:4444/wd/hub')
|
||||
.withCapabilities(capabilities)
|
||||
.forBrowser(this.config.browser)
|
||||
.setChromeOptions(opts)
|
||||
|
||||
Reference in New Issue
Block a user